Struct Graphics.DrawElementsParams
Contains parameters for the draw elements method.
public struct Graphics.DrawElementsParams
Constructors
- DrawElementsParams()
Initializes a new instance of the Graphics.DrawElementsParams struct.
Fields
- Distance
Gets or sets distance between elements. If Null, DefaultImageLabelDistance is used.
- DrawDebugCorners
Gets or sets whether to draw debug corners around elements.
- Elements
Gets or sets array of elements to draw.
- IsVertical
Gets or sets whether elements are painted as vertical or horizontal stack.
- Rect
Gets or sets rectangle in which drawing is performed.
- ResultBounds
Gets elements bounding rectangle after drawing. This is filled even if Visible is False.
- ResultRects
Gets element bounds after drawing was performed. This is filled with bounds even if Visible is False.
- ResultSizes
Gets element sizes after drawing was performed. This is filled with sizes even if Visible is False.
- Visible
Gets or sets whether painting is actually performed. This property may be useful when you need to calculate element sizes without painting.