Interface: DialogOptions
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 dialog box. Default is WebColors.White
Defined in
m2c2kit/packages/addons/src/composites/dialog.ts:26
cornerRadius?
optionalcornerRadius:number
Corner radius of dialog box; can be used to make rounded corners
Defined in
m2c2kit/packages/addons/src/composites/dialog.ts:24
draggable?
optionaldraggable:boolean
Can the node be dragged?
Inherited from
CompositeOptions.draggable
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:104
fontColor?
optionalfontColor:RgbaColor
Color of button text. Default is WebColors.White
Defined in
m2c2kit/packages/addons/src/composites/dialog.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
isPartOfComposite?
optionalisPartOfComposite:boolean
Is the node part of a composite? Default is false.
Remarks
This property is for use by authors of Composite nodes. It is not intended for general use.
Inherited from
CompositeOptions.isPartOfComposite
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:113
isUserInteractionEnabled?
optionalisUserInteractionEnabled:boolean
Does the node respond to user events, such as taps? Default is false
Inherited from
CompositeOptions.isUserInteractionEnabled
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:102
layout?
optionallayout:Layout
FOR INTERNAL USE ONLY
Inherited from
CompositeOptions.layout
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:108
messageText?
optionalmessageText:string
Defined in
m2c2kit/packages/addons/src/composites/dialog.ts:34
name?
optionalname:string
Name of the node. Only needed if the node will be referred to by name in a later function
Inherited from
CompositeOptions.name
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:92
negativeButtonColor?
optionalnegativeButtonColor:RgbaColor
Defined in
m2c2kit/packages/addons/src/composites/dialog.ts:33
negativeButtonText?
optionalnegativeButtonText:string
Defined in
m2c2kit/packages/addons/src/composites/dialog.ts:31
overlayAlpha?
optionaloverlayAlpha:number
Defined in
m2c2kit/packages/addons/src/composites/dialog.ts:29
position?
optionalposition:Point
Position of the node within its parent coordinate system. Default is (0, 0)
Inherited from
CompositeOptions.position
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:94
positiveButtonColor?
optionalpositiveButtonColor:RgbaColor
Defined in
m2c2kit/packages/addons/src/composites/dialog.ts:32
positiveButtonText?
optionalpositiveButtonText:string
Defined in
m2c2kit/packages/addons/src/composites/dialog.ts:30
scale?
optionalscale:number
Scale of the node. Default is 1.0
Inherited from
CompositeOptions.scale
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:96
size?
optionalsize:Size
Size of dialog box
Defined in
m2c2kit/packages/addons/src/composites/dialog.ts:22
uuid?
optionaluuid:string
Internal
Unique identifier (UUID). Will be generated automatically. For m2c2kit library use only
Inherited from
CompositeOptions.uuid
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:110
zPosition?
optionalzPosition:number
Value along the z-axis to determine drawing and tap order. Larger values are on top.
Inherited from
CompositeOptions.zPosition
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:40
zRotation?
optionalzRotation:number
Rotation of the node around the Z axis. Unit is radians. Default is 0 (no rotation). zRotation has inheritance. In addition to this node's zRotation, all ancestors' zRotations will be applied.
Inherited from
CompositeOptions.zRotation
Defined in
node_modules/@m2c2kit/core/dist/index.d.ts:100