abstract class
|
WidgetBounds
|
implements
|
IWidgetBounds
|
||
extends
|
VersionedBase
|
An IWidgetBounds instance that puts IWidget objects onto the entire render target surface.
public
static
readonly
field
|
FullScreen
|
||
type
|
IWidgetBounds
|
Returns the current version of object.
public
property
|
Version
{
get
}
|
||
type
|
int32
|
||
value
|
The current version number. | ||
inherited
|
VersionedBase.Version
|
Remarks:
For each modification, the version is incremented by at least one.
Returns the pixel bounds of the widget on the render target surface.
public
abstract
method
|
ComputeWidgetBounds
(int32 width,
int32 height)
|
||
type
|
Box2I
|
||
params
|
width
|
[>0]
|
The screen width (see ScreenWidth). |
height
|
[>0]
|
The screen height (see ScreenWidth). | |
returns
|
The pixel bounds. | ||
implements
|
IWidgetBounds.ComputeWidgetBounds
|
Remarks:
This method called once during GraphicsAttach.
Adjust the widget bounds by padding its edges.
public
virtual
method
|
Padding
(int32 top,
int32 left,
int32 bottom,
int32 right)
|
||
type
|
IWidgetBounds
|
||
params
|
top
|
Padding amount at top edge. | |
left
|
Padding amount at left edge. | ||
bottom
|
Padding amount at bottom edge. | ||
right
|
Padding amount at right edge. | ||
returns
|
|
The resulting widget bounds. | |
implements
|
IWidgetBounds.Padding
|
Returns the version of aggregated objects, which will be added to the current version of this object.
[EmptyBody]
|
||||
protected
virtual
property
|
VersionAggregated
{
get
}
|
|||
type
|
int32
|
|||
value
|
The aggregated version. | |||
inherited
|
VersionedBase.VersionAggregated
|
Increments the version of this object.
protected
method
|
VersionIncrement
()
|
||
inherited
|
VersionedBase.VersionIncrement
|