Type Definitions
DisplayItemsType
Defines the {arrow, arrowColor, arrowSize, image, caption, content, imageAlign, imageSize, radial} type for displayItems and displaySubItems fields of Options object.
Type:
- object
Properties:
Name | Type | Description |
---|---|---|
arrow |
null | number | Specifies the ratio to determine where the arrow of items with children is displayed. Indicates one of the following:
null {null}, specifies that no arrow is displayed |
arrowColor |
null | string | Indicates the CSS color to display the arrow. Indicates one of the following:
null {null}, indicates a black arrow |
arrowSize |
null | number | Defines the size to display the arrow. Indicates one of the following:
null {null}, indicates the default arrow size |
image |
null | number | Specifies the ratio to determine where the item's image is displayed within the host portion of the control. The imageSize field specifies the aspect-ratio to display the item's image. Indicates one of the following:
null {null}, specifies that no image is displayed |
caption |
null | number | Specifies the ratio to determine where the item's caption is displayed within the host portion of the control. Indicates one of the following:
null {null}, specifies that no caption is displayed |
content |
null | number | Specifies the ratio to determine where the item's content (caption and image together) is displayed within the host portion of the control. The imageSize field specifies the aspect-ratio to display the item's image. The imageAlign field specifies the alignment of the image relative to the item's caption (valid for the content only). Indicates one of the following:
null {null}, specifies that no item's content (caption and image together) is displayed |
imageAlign |
number | Aligns the item's image relative to the item's caption. The imageAlign field is valid only if "content" is specified. In other words, imageAlign field aligns the item's caption and image when they are both displayed by "content" field. Indicates one of the following:
Example: 0 {number}, the image is left-aligned |
imageSize |
null | number | array | Defines the size of the item's image. Indicates one of the following:
null {null}, Indicates that the item's image is displayed as it is (full-sized) |
radial |
RadialMenu.DisplayRadialEnum | Rotates the item's content while not zero. The RadialMenu.DisplayRadialEnum type defines the following values:
0 or RadialMenu.DisplayRadialEnum.exDisplayRadialFlat {number}, no rotation is performed over the item's content |
DisplayParentType
Defines the {imageAlign, imageSize, visible} type for displayParent field of Options object.
Type:
- object
Properties:
Name | Type | Description |
---|---|---|
imageAlign |
number | Aligns the item's image relative to the item's caption. The imageAlign field is valid only if "content" is specified. In other words, imageAlign field aligns the item's caption and image when they are both displayed by "content" field. Indicates one of the following:
Example: 0 {number}, the image is left-aligned |
imageSize |
null | number | array | Defines the size of the item's image. Indicates one of the following:
null {null}, Indicates that the item's image is displayed as it is (full-sized) |
visible |
number | Defines whether the caption or/and image of the item are being shown. Indicates one of the following:
0 {number}, displays no caption or image |
image |
null | number | Specifies the ratio to determine where the item's image is displayed within the host portion of the control. The imageSize field specifies the aspect-ratio to display the item's image. Indicates one of the following:
null {null}, specifies that no image is displayed |
caption |
null | number | Specifies the ratio to determine where the item's caption is displayed within the host portion of the control. Indicates one of the following:
null {null}, specifies that no caption is displayed |
content |
null | number | Specifies the ratio to determine where the item's content (caption and image together) is displayed within the host portion of the control. The imageSize field specifies the aspect-ratio to display the item's image. The imageAlign field specifies the alignment of the image relative to the item's caption (valid for the content only). Indicates one of the following:
null {null}, specifies that no item's content (caption and image together) is displayed |
- Since:
- 2.2