VisualInstance

Description

struct Tinman.Engine.Drawing.VisualInstance

Describes an instance of a IVisual.

Public / Constants

None


public static readonly attribute None → (VisualInstance)

The special VisualInstance that represents no instance.

Public / Constructors

Visual­Instance


public constructor VisualInstance → (2)

visual in : IVisual

See Visual.

resolution opt : float32 = 96

See Resolution.

Creates a new instance of VisualInstance.

Public / Attributes

Is­None


public attribute IsNone → (get)

value : bool

true if this value is empty,
false if it not.

Is this VisualInstance empty and does not represent any instance?

Resolution


public readonly attribute Resolution → (float32)

The resolution of the visual, in pixels per visual unit.

See also

IVisual

Visual


public readonly attribute Visual → (IVisual)

The visual.