ScreenOverlaySize Constructor (Double, Double, ScreenOverlayUnit, ScreenOverlayUnit) |
Initializes a new instance with a specified width and height expressed in specified units.
Namespace:
AGI.Foundation.Graphics.Advanced
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public ScreenOverlaySize(
double width,
double height,
ScreenOverlayUnit widthUnit,
ScreenOverlayUnit heightUnit
)
Public Sub New (
width As Double,
height As Double,
widthUnit As ScreenOverlayUnit,
heightUnit As ScreenOverlayUnit
)
public:
ScreenOverlaySize(
double width,
double height,
ScreenOverlayUnit widthUnit,
ScreenOverlayUnit heightUnit
)
new :
width : float *
height : float *
widthUnit : ScreenOverlayUnit *
heightUnit : ScreenOverlayUnit -> ScreenOverlaySize
Parameters
- width
- Type: SystemDouble
The width in the unit specified by widthUnit. - height
- Type: SystemDouble
The height in the unit specified by heightUnit. - widthUnit
- Type: AGI.Foundation.Graphics.AdvancedScreenOverlayUnit
The unit that width is specified in. - heightUnit
- Type: AGI.Foundation.Graphics.AdvancedScreenOverlayUnit
The unit that height is specified in.
See Also