跳到主要内容

ApiGeometry

Represents the ApiGeometry class.

Methods

MethodReturnsDescription
AddAdjbooleanAdds a new adjustment parameter to the current geometry.
AddConnectionPointbooleanAdds a connection point to the current geometry.
AddGuidebooleanAdds a guide (formula) to the current geometry.
AddPathApiPath | nullAdds a new path to the current geometry.
GetAdjValuenumber | nullReturns the adjustment value by its name from the current geometry.
GetPathApiPathReturns a geometry path by its index.
GetPathCountnumberReturns the number of paths in the current geometry.
GetPathsApiPath[]Returns all paths of the current geometry.
GetPresetShapeType | nullReturns the name of the preset shape if the current geometry is based on a preset.
IsCustombooleanChecks whether the current geometry is custom.
SetAdjValueNoneSets the specified adjustment parameter for the current geometry.
SetTextRectbooleanSets the text rectangle for the current geometry.