PathElement takes care of how to align the path based on offsetX and offsetY
string
Gets/Sets the equivalent path, that will have the origin as 0,0
Gets the size that the element will be rendered
Gets/Sets the boundary of the element
number
Set the corner of the element
Gets the minimum size that is required by the element
number
Sets/Gets the height of the element
Sets/Gets how the element has to be horizontally arranged with respect to its immediate parent
string
Sets the unique id of the element
boolean
Sets or gets whether the content of the element needs to be measured
number
Sets/Gets the maximum height of the element
number
Sets/Gets the maximum width of the element
number
Sets/Gets the minimum height of the element
number
Sets/Gets the minimum width of the element
number
Sets/Gets the x-coordinate of the element
number
Sets/Gets the y-coordinate of the element
number
Gets the rotate angle that is set to the immediate parent of the element
Sets whether the element has to be aligned with respect to a point/with respect to its immediate parent
number
Sets/Gets the rotate angle of the element
boolean
Defines whether the element has to be measured or not
boolean
Gets/Sets whether the path has to be transformed to fit the given x,y, width, height
Sets/Gets how the element has to be vertically arranged with respect to its immediate parent
boolean
Sets or gets whether the content of the element to be visible
number
Sets/Gets the width of the element
string
Gets the geometry of the path element
Arranges the path element
Parameter | Type | Description |
---|---|---|
desiredSize | Size |
Returns Size
Gets the position of the element with respect to its parent
Parameter | Type | Description |
---|---|---|
size | Size |
Returns PointModel
Measures the minimum space that is required to render the element
Parameter | Type | Description |
---|---|---|
availableSize | Size |
Returns Size
Sets the offset of the element with respect to its parent
Returns void
Updates the bounds of the element
Returns void
Translates the path to 0,0 and scales the path based on the actual size
Returns string