Constructor ContainerElement
ContainerElement()
Initializes a new instance of the ContainerElement class used for grouping items on screen.
Declaration
public ContainerElement()
ContainerElement(PointF, SizeF)
Initializes a new instance of the ContainerElement class used for grouping items on screen.
Declaration
public ContainerElement(PointF position, SizeF size)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF | position | Set the Position on screen where to draw the ContainerElement. |
System.Drawing.SizeF | size | Set the Size of the ContainerElement. |
ContainerElement(PointF, SizeF, Color)
Initializes a new instance of the ContainerElement class used for grouping items on screen.
Declaration
public ContainerElement(PointF position, SizeF size, Color color)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF | position | Set the Position on screen where to draw the ContainerElement. |
System.Drawing.SizeF | size | Set the Size of the ContainerElement. |
System.Drawing.Color | color | Set the Color used to draw the ContainerElement. |
ContainerElement(PointF, SizeF, Color, Boolean)
Initializes a new instance of the ContainerElement class used for grouping items on screen.
Declaration
public ContainerElement(PointF position, SizeF size, Color color, bool centered)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.PointF | position | Set the Position on screen where to draw the ContainerElement. |
System.Drawing.SizeF | size | Set the Size of the ContainerElement. |
System.Drawing.Color | color | Set the Color used to draw the ContainerElement. |
System.Boolean | centered | Position the ContainerElement based on its center instead of top left corner, see also Centered. |