Interface: GridOptions
Extends
CompositeOptions
Properties
alpha?
optionalalpha:number
Opacity of the node. 0 is fully transparent, 1 is fully opaque. Default is 1.0. Alpha has multiplicative inheritance. For example, if the node's parent is alpha .5 and this node's is alpha .4, then the node will appear with alpha .2.
Inherited from
CompositeOptions.alpha
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:98
anchorPoint?
optionalanchorPoint:Point
Point within the node that determines its position. Default is { x: 0.5, y: 0.5 }, which centers the node on its position
Inherited from
CompositeOptions.anchorPoint
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:38
backgroundColor?
optionalbackgroundColor:RgbaColor
Background color of the grid. Default is a transparent blue
Defined in
m2c2kit/packages/addons/src/composites/grid.ts:26
columns
columns:
number
Number of columns in the grid. Must be 1 or greater
Defined in
m2c2kit/packages/addons/src/composites/grid.ts:22
draggable?
optionaldraggable:boolean
Can the node be dragged?
Inherited from
CompositeOptions.draggable
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:104
gridLineColor?
optionalgridLineColor:RgbaColor
Color of the grid lines. Default is red
Defined in
m2c2kit/packages/addons/src/composites/grid.ts:30
gridLineWidth?
optionalgridLineWidth:number
Width of the grid lines. Default is 1
Defined in
m2c2kit/packages/addons/src/composites/grid.ts:28
hidden?
optionalhidden:boolean
Is the node, and its children, hidden? (not displayed). Default is false
Inherited from
CompositeOptions.hidden
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:106