TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class WidgetBounds in Tinman.AddOns.Widgets

abstract class WidgetBounds implements IWidgetBounds
  extends VersionedBase

Public / Constants

FullScreen

An IWidgetBounds instance that puts IWidget objects onto the entire render target surface.

public static readonly field FullScreen
type IWidgetBounds

Public / Attributes

Version

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.

Public / Methods

ComputeWidgetBounds

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.

Padding

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 [not-null] The resulting widget bounds.
implements IWidgetBounds.Padding

Protected / Attributes

VersionAggregated

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

Protected / Methods

VersionIncrement

Increments the version of this object.

protected method VersionIncrement ()
inherited VersionedBase.VersionIncrement