tracking-code-which-will-go-to-the-HEAD ComponentDrawOption

Class

ComponentDrawOption

ComponentDrawOption(propsopt)

Option for the Component drawing.
Constructor

# new ComponentDrawOption(propsopt)

Default constructor
Parameters:
Name Type Attributes Description
props object <optional>
Object that contains all properties to set.
x number <optional>
X Position of Component.
y number <optional>
Y Position of Component.
width number <optional>
Width of Component in pixel.
height number <optional>
Height of Component in pixel.
hide boolean <optional>
Indicate if component is hidden.

View Source models/ComponentDrawOption.js, line 4

Members

number

# height

Height of Component in pixel.

View Source models/ComponentDrawOption.js, line 51

boolean

# hide

Indicate if component is hidden.

View Source models/ComponentDrawOption.js, line 57

number

# width

Width of Component in pixel.

View Source models/ComponentDrawOption.js, line 45

number

# x

X Position of Component relative to its container(scene or component).

View Source models/ComponentDrawOption.js, line 33

number

# y

Y Position of Component relative to its container(scene or component).

View Source models/ComponentDrawOption.js, line 39