-
public class LegendItemSettings extends Text
Legend items are child elements of a legend. The LegendItemSettings class contains different settings for an icon in the legend item. Such as text spacing, type, fill, stroke, hatch fill, size, icon marker settings, etc.
-
-
Constructor Summary
Constructors Constructor Description LegendItemSettings(String jsChart)
-
Method Summary
Modifier and Type Method Description static LegendItemSettingsinstantiate()StringgetJsBase()voiddisablePointerEvents()Getter for the pointer events. LegendItemSettingsdisablePointerEvents(Boolean enabled)Setter for the pointer events. voiddisabled()Getter for disabled settings. LegendItemSettingsdisabled(Boolean enabled)Setter for disabled settings. voidenabled()Getter for the element state (enabled or disabled). LegendItemSettingsenabled(Boolean enabled)Setter for the element enabled state. voidfontColor()Getter for the text font color. LegendItemSettingsfontColor(String color)Setter for the text font color. voidfontDecoration()Getter for the text font decoration. LegendItemSettingsfontDecoration(Decoration value)Setter for the text font decoration. LegendItemSettingsfontDecoration(String value)Setter for the text font decoration. voidfontFamily()Getter for the font family. LegendItemSettingsfontFamily(String family)Setter for the font family. voidfontOpacity()Getter for the text font opacity. LegendItemSettingsfontOpacity(Number opacity)Setter for the text font opacity. voidfontSize()Getter for the text font size. LegendItemSettingsfontSize(String size)Setter for the text font size. LegendItemSettingsfontSize(Number size)Setter for the text font size. voidfontStyle()Getter for the text font style. LegendItemSettingsfontStyle(FontStyle style)Setter for the text font style. LegendItemSettingsfontStyle(String style)Setter for the text font style. voidfontVariant()Getter for the text font variant. LegendItemSettingsfontVariant(FontVariant value)Setter for the text font variant. LegendItemSettingsfontVariant(String value)Setter for the text font variant. voidfontWeight()Getter for the text font weight. LegendItemSettingsfontWeight(String weight)Setter for the text font weight. LegendItemSettingsfontWeight(Number weight)Setter for the text font weight. voidformat()Getter for legend item format settings. LegendItemSettingsformat(String format)Setter for legend item format settings. voidhAlign()Getter for the text horizontal align. LegendItemSettingshAlign(HAlign align)Setter for the text horizontal align. LegendItemSettingshAlign(String align)Setter for the text horizontal align. voidiconEnabled()Getter for settings showing icons. LegendItemSettingsiconEnabled(Boolean enabled)Setter for settings showing icons. voidiconFill()Getter for legend item icon fill settings. LegendItemSettingsiconFill(Fill color)Setter for fill settings using an array, an object or a string. LegendItemSettingsiconFill(GradientKey color)Setter for fill settings using an array, an object or a string. LegendItemSettingsiconFill(Array<String> color)Setter for fill settings using an array, an object or a string. LegendItemSettingsiconFill(String color, Number opacity)Fill color with opacity. LegendItemSettingsiconFill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. LegendItemSettingsiconFill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient fill. LegendItemSettingsiconFill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient fill. LegendItemSettingsiconFill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. LegendItemSettingsiconFill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient fill. LegendItemSettingsiconFill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient fill. LegendItemSettingsiconFill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. LegendItemSettingsiconFill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. PatternFilliconHatchFill()Getter for icon hatch fill settings. LegendItemSettingsiconHatchFill(HatchFillType type, String color, Number thickness, Number size)Setter for icon hatch fill settings. LegendItemSettingsiconHatchFill(String type, String color, Number thickness, Number size)Setter for icon hatch fill settings. LegendItemSettingsiconHatchFill(String iconHatchFillFunction)Setter for hatch fill settings using function. LegendItemSettingsiconHatchFill(PatternFill patternFill)Setter for hatch fill settings using pattern fill. LegendItemSettingsiconHatchFill(HatchFill settings)Setter for hatch fill settings using an instance. voidiconMarkerFill()Getter for icon marker fill settings. LegendItemSettingsiconMarkerFill(Fill color)Setter for icon marker fill settings using a string. LegendItemSettingsiconMarkerFill(String color, Number opacity)Icon marker fill color with opacity. LegendItemSettingsiconMarkerFill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient fill for icon marker. LegendItemSettingsiconMarkerFill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient fill for icon marker. LegendItemSettingsiconMarkerFill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient fill for icon marker. LegendItemSettingsiconMarkerFill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient fill for icon marker. LegendItemSettingsiconMarkerFill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient fill for icon marker. LegendItemSettingsiconMarkerFill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient fill for icon marker. LegendItemSettingsiconMarkerFill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill for icon marker. LegendItemSettingsiconMarkerFill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill for icon marker. voidiconMarkerStroke()Getter for icon marker stroke settings. LegendItemSettingsiconMarkerStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for icon marker stroke settings. LegendItemSettingsiconMarkerStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for icon marker stroke settings. LegendItemSettingsiconMarkerStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for icon marker stroke settings. LegendItemSettingsiconMarkerStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for icon marker stroke settings. LegendItemSettingsiconMarkerStroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for icon marker stroke settings. LegendItemSettingsiconMarkerStroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for icon marker stroke settings. LegendItemSettingsiconMarkerStroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for icon marker stroke settings. LegendItemSettingsiconMarkerStroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for icon marker stroke settings. LegendItemSettingsiconMarkerStroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for icon marker stroke settings. LegendItemSettingsiconMarkerStroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for icon marker stroke settings. LegendItemSettingsiconMarkerStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for icon marker stroke settings. LegendItemSettingsiconMarkerStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for icon marker stroke settings. voidiconMarkerType()Getter for the marker type. LegendItemSettingsiconMarkerType(MarkerType type)Setter for the marker type. LegendItemSettingsiconMarkerType(String type)Setter for the marker type. voidiconSize()Getter for the icon size of legend item. LegendItemSettingsiconSize(Number size)Setter for the icon size of legend item. LegendItemSettingsiconSize(String size)Setter for the icon size of legend item. voidiconStroke()Getter for legend item icon stroke settings. LegendItemSettingsiconStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for legend item icon stroke settings. LegendItemSettingsiconStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for legend item icon stroke settings. LegendItemSettingsiconStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for legend item icon stroke settings. LegendItemSettingsiconStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for legend item icon stroke settings. LegendItemSettingsiconStroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for legend item icon stroke settings. LegendItemSettingsiconStroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for legend item icon stroke settings. LegendItemSettingsiconStroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for legend item icon stroke settings. LegendItemSettingsiconStroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for legend item icon stroke settings. LegendItemSettingsiconStroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for legend item icon stroke settings. LegendItemSettingsiconStroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for legend item icon stroke settings. LegendItemSettingsiconStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for legend item icon stroke settings. LegendItemSettingsiconStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for legend item icon stroke settings. LegendItemSettingsiconStroke(String settings)Setter for legend item icon stroke using an object. voidiconTextSpacing()Getter for a spacing between icon and text. LegendItemSettingsiconTextSpacing(Number spacing)Setter for a spacing between icon and text. voidiconType()Getter for the icon type. LegendItemSettingsiconType(LegendItemIconType type)Setter for the icon type. LegendItemSettingsiconType(String type)Setter for the icon type. voidletterSpacing()Getter for the text letter spacing. LegendItemSettingsletterSpacing(String spacing)Setter for the text letter spacing. LegendItemSettingsletterSpacing(Number spacing)Setter for the text letter spacing. voidlineHeight()Getter for the text line height. LegendItemSettingslineHeight(String height)Setter for the text line height. LegendItemSettingslineHeight(Number height)Setter for the text line height. voidprint(PaperSize paperSizeOrOptions, Boolean landscape)Prints all elements on related stage. voidprint(String paperSizeOrOptions, Boolean landscape)Prints all elements on related stage. voidremoveAllListeners(String type)Removes all listeners from an object. voidselectable()Getter for the text selectable option. LegendItemSettingsselectable(Boolean enabled)Setter for the text selectable. voidtext()Getter for the legend item text. LegendItemSettingstext(String text)Setter for the legend item text. voidtextDirection()Getter for the text direction. LegendItemSettingstextDirection(Direction direction)Setter for the text direction. LegendItemSettingstextDirection(String direction)Setter for the text direction. voidtextIndent()Getter for the text indent. LegendItemSettingstextIndent(Number indent)Setter for the text indent. voidtextOverflow()Getter for the text overflow settings. LegendItemSettingstextOverflow(TextOverflow value)Setter for the text overflow settings. LegendItemSettingstextOverflow(String value)Setter for the text overflow settings. voidtextSettings()Getter for the full text appearance settings. voidtextSettings(String name)Getter for all text appearance settings. LegendItemSettingstextSettings(String name, String settings)Setter for the text appearance settings. LegendItemSettingstextSettings(String name, Number settings)Setter for the text appearance settings. LegendItemSettingstextSettings(String name, Boolean settings)Setter for the text appearance settings. voidsetOnClickListener(ListenersInterface.OnClickListener listener)voidsetOnClickListener(ListenersInterface.OnClickListener listener, String type, String ePath)voidunlistenByKey(String key)Removes an event listener which was added with listen() by the key returned by listen() or listenOnce(). voiduseHtml()Getter for the useHTML flag. LegendItemSettingsuseHtml(Boolean enabled)Setter for flag useHTML. voidvAlign()Getter for the text vertical align. LegendItemSettingsvAlign(VAlign align)Setter for the text vertical align. LegendItemSettingsvAlign(String align)Setter for the text vertical align. voidwordBreak()Getter for the word-break mode. LegendItemSettingswordBreak(WordBreak mode)Setter for the word-break mode. LegendItemSettingswordBreak(String mode)Setter for the word-break mode. voidwordWrap()Getter for the word-wrap mode. LegendItemSettingswordWrap(WordWrap mode)Setter for the word-wrap mode. LegendItemSettingswordWrap(String mode)Setter for the word-wrap mode. voidzIndex()Getter for the Z-index of the element. LegendItemSettingszIndex(Number zIndex)Setter for the Z-index of the element. Layercontainer()Getter for the container. LegendItemSettingscontainer(Layer element)Setter for the container. LegendItemSettingscontainer(Stage element)Setter for the container. LegendItemSettingscontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. LegendItemSettingsparentBounds(Rect bounds)Setter for the parent bounds using single value. LegendItemSettingsparentBounds(String bounds)Setter for the parent bounds using single value. LegendItemSettingsparentBounds(Number bounds)Setter for the parent bounds using single value. LegendItemSettingsparentBounds(Number left, Number top, Number width, Number height)Setter for the parent bounds using several values. -
Methods inherited from class com.anychart.core.Text
container, container, container, disablePointerEvents, enabled, fontColor, fontDecoration, fontDecoration, fontFamily, fontOpacity, fontSize, fontSize, fontStyle, fontStyle, fontVariant, fontVariant, fontWeight, fontWeight, hAlign, hAlign, instantiate, letterSpacing, letterSpacing, lineHeight, lineHeight, parentBounds, parentBounds, parentBounds, parentBounds, selectable, textDirection, textDirection, textIndent, textOverflow, textOverflow, textSettings, textSettings, textSettings, useHtml, vAlign, vAlign, wordBreak, wordBreak, wordWrap, wordWrap, zIndex -
Methods inherited from class com.anychart.core.VisualBase
container, container, container, enabled, instantiate, parentBounds, parentBounds, parentBounds, parentBounds, zIndex -
Methods inherited from class com.anychart.core.Base
instantiate -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LegendItemSettings
LegendItemSettings(String jsChart)
-
-
Method Detail
-
instantiate
static LegendItemSettings instantiate()
-
disablePointerEvents
void disablePointerEvents()
Getter for the pointer events.
-
disablePointerEvents
LegendItemSettings disablePointerEvents(Boolean enabled)
Setter for the pointer events.
-
disabled
void disabled()
Getter for disabled settings.
-
disabled
LegendItemSettings disabled(Boolean enabled)
Setter for disabled settings.
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
enabled
LegendItemSettings enabled(Boolean enabled)
Setter for the element enabled state.
-
fontColor
void fontColor()
Getter for the text font color.
-
fontColor
LegendItemSettings fontColor(String color)
Setter for the text font color.://www.w3schools.com/html/html_colors.asp
-
fontDecoration
void fontDecoration()
Getter for the text font decoration.
-
fontDecoration
LegendItemSettings fontDecoration(Decoration value)
Setter for the text font decoration.
-
fontDecoration
LegendItemSettings fontDecoration(String value)
Setter for the text font decoration.
-
fontFamily
void fontFamily()
Getter for the font family.
-
fontFamily
LegendItemSettings fontFamily(String family)
Setter for the font family.
-
fontOpacity
void fontOpacity()
Getter for the text font opacity.
-
fontOpacity
LegendItemSettings fontOpacity(Number opacity)
Setter for the text font opacity. Double value from 0 to 1.
-
fontSize
void fontSize()
Getter for the text font size.
-
fontSize
LegendItemSettings fontSize(String size)
Setter for the text font size.
-
fontSize
LegendItemSettings fontSize(Number size)
Setter for the text font size.
-
fontStyle
void fontStyle()
Getter for the text font style.
-
fontStyle
LegendItemSettings fontStyle(FontStyle style)
Setter for the text font style.
-
fontStyle
LegendItemSettings fontStyle(String style)
Setter for the text font style.
-
fontVariant
void fontVariant()
Getter for the text font variant.
-
fontVariant
LegendItemSettings fontVariant(FontVariant value)
Setter for the text font variant.
-
fontVariant
LegendItemSettings fontVariant(String value)
Setter for the text font variant.
-
fontWeight
void fontWeight()
Getter for the text font weight.
-
fontWeight
LegendItemSettings fontWeight(String weight)
Setter for the text font weight.://www.w3schools.com/cssref/pr_font_weight.asp
-
fontWeight
LegendItemSettings fontWeight(Number weight)
Setter for the text font weight.://www.w3schools.com/cssref/pr_font_weight.asp
-
format
void format()
Getter for legend item format settings.
-
format
LegendItemSettings format(String format)
Setter for legend item format settings. {docs:Common_Settings/Text_Formatters}Learn more about using the format() method.{docs}
-
hAlign
void hAlign()
Getter for the text horizontal align.
-
hAlign
LegendItemSettings hAlign(HAlign align)
Setter for the text horizontal align.
-
hAlign
LegendItemSettings hAlign(String align)
Setter for the text horizontal align.
-
iconEnabled
void iconEnabled()
Getter for settings showing icons.
-
iconEnabled
LegendItemSettings iconEnabled(Boolean enabled)
Setter for settings showing icons.
-
iconFill
void iconFill()
Getter for legend item icon fill settings.
-
iconFill
LegendItemSettings iconFill(Fill color)
Setter for fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconFill
LegendItemSettings iconFill(GradientKey color)
Setter for fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconFill
LegendItemSettings iconFill(Array<String> color)
Setter for fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconFill
LegendItemSettings iconFill(String color, Number opacity)
Fill color with opacity.
-
iconFill
LegendItemSettings iconFill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconFill
LegendItemSettings iconFill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconFill
LegendItemSettings iconFill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconFill
LegendItemSettings iconFill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconFill
LegendItemSettings iconFill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconFill
LegendItemSettings iconFill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconFill
LegendItemSettings iconFill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconFill
LegendItemSettings iconFill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconHatchFill
PatternFill iconHatchFill()
Getter for icon hatch fill settings.
-
iconHatchFill
LegendItemSettings iconHatchFill(HatchFillType type, String color, Number thickness, Number size)
Setter for icon hatch fill settings.
-
iconHatchFill
LegendItemSettings iconHatchFill(String type, String color, Number thickness, Number size)
Setter for icon hatch fill settings.
-
iconHatchFill
LegendItemSettings iconHatchFill(String iconHatchFillFunction)
Setter for hatch fill settings using function. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconHatchFill
LegendItemSettings iconHatchFill(PatternFill patternFill)
Setter for hatch fill settings using pattern fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconHatchFill
LegendItemSettings iconHatchFill(HatchFill settings)
Setter for hatch fill settings using an instance. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconMarkerFill
void iconMarkerFill()
Getter for icon marker fill settings.
-
iconMarkerFill
LegendItemSettings iconMarkerFill(Fill color)
Setter for icon marker fill settings using a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconMarkerFill
LegendItemSettings iconMarkerFill(String color, Number opacity)
Icon marker fill color with opacity.
-
iconMarkerFill
LegendItemSettings iconMarkerFill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill for icon marker. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconMarkerFill
LegendItemSettings iconMarkerFill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient fill for icon marker. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconMarkerFill
LegendItemSettings iconMarkerFill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient fill for icon marker. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconMarkerFill
LegendItemSettings iconMarkerFill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill for icon marker. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconMarkerFill
LegendItemSettings iconMarkerFill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient fill for icon marker. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconMarkerFill
LegendItemSettings iconMarkerFill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient fill for icon marker. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconMarkerFill
LegendItemSettings iconMarkerFill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial gradient fill for icon marker. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconMarkerFill
LegendItemSettings iconMarkerFill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)
Radial gradient fill for icon marker. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
iconMarkerStroke
void iconMarkerStroke()
Getter for icon marker stroke settings.
-
iconMarkerStroke
LegendItemSettings iconMarkerStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for icon marker stroke settings.
-
iconMarkerStroke
LegendItemSettings iconMarkerStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for icon marker stroke settings.
-
iconMarkerStroke
LegendItemSettings iconMarkerStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for icon marker stroke settings.
-
iconMarkerStroke
LegendItemSettings iconMarkerStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for icon marker stroke settings.
-
iconMarkerStroke
LegendItemSettings iconMarkerStroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for icon marker stroke settings.
-
iconMarkerStroke
LegendItemSettings iconMarkerStroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for icon marker stroke settings.
-
iconMarkerStroke
LegendItemSettings iconMarkerStroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for icon marker stroke settings.
-
iconMarkerStroke
LegendItemSettings iconMarkerStroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for icon marker stroke settings.
-
iconMarkerStroke
LegendItemSettings iconMarkerStroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for icon marker stroke settings.
-
iconMarkerStroke
LegendItemSettings iconMarkerStroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for icon marker stroke settings.
-
iconMarkerStroke
LegendItemSettings iconMarkerStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for icon marker stroke settings.
-
iconMarkerStroke
LegendItemSettings iconMarkerStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for icon marker stroke settings.
-
iconMarkerType
void iconMarkerType()
Getter for the marker type.
-
iconMarkerType
LegendItemSettings iconMarkerType(MarkerType type)
Setter for the marker type.
-
iconMarkerType
LegendItemSettings iconMarkerType(String type)
Setter for the marker type.
-
iconSize
void iconSize()
Getter for the icon size of legend item.
-
iconSize
LegendItemSettings iconSize(Number size)
Setter for the icon size of legend item.
-
iconSize
LegendItemSettings iconSize(String size)
Setter for the icon size of legend item.
-
iconStroke
void iconStroke()
Getter for legend item icon stroke settings.
-
iconStroke
LegendItemSettings iconStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for legend item icon stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
iconStroke
LegendItemSettings iconStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for legend item icon stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
iconStroke
LegendItemSettings iconStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for legend item icon stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
iconStroke
LegendItemSettings iconStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for legend item icon stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
iconStroke
LegendItemSettings iconStroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for legend item icon stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
iconStroke
LegendItemSettings iconStroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for legend item icon stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
iconStroke
LegendItemSettings iconStroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for legend item icon stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
iconStroke
LegendItemSettings iconStroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for legend item icon stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
iconStroke
LegendItemSettings iconStroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for legend item icon stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
iconStroke
LegendItemSettings iconStroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for legend item icon stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
iconStroke
LegendItemSettings iconStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for legend item icon stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
iconStroke
LegendItemSettings iconStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for legend item icon stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
iconStroke
LegendItemSettings iconStroke(String settings)
Setter for legend item icon stroke using an object.
-
iconTextSpacing
void iconTextSpacing()
Getter for a spacing between icon and text.
-
iconTextSpacing
LegendItemSettings iconTextSpacing(Number spacing)
Setter for a spacing between icon and text.
-
iconType
void iconType()
Getter for the icon type.
-
iconType
LegendItemSettings iconType(LegendItemIconType type)
Setter for the icon type.
-
iconType
LegendItemSettings iconType(String type)
Setter for the icon type.
-
letterSpacing
void letterSpacing()
Getter for the text letter spacing.
-
letterSpacing
LegendItemSettings letterSpacing(String spacing)
Setter for the text letter spacing.://www.w3schools.com/cssref/pr_text_letter-spacing.asp
-
letterSpacing
LegendItemSettings letterSpacing(Number spacing)
Setter for the text letter spacing.://www.w3schools.com/cssref/pr_text_letter-spacing.asp
-
lineHeight
void lineHeight()
Getter for the text line height.
-
lineHeight
LegendItemSettings lineHeight(String height)
Setter for the text line height.://www.w3schools.com/cssref/pr_dim_line-height.asp
-
lineHeight
LegendItemSettings lineHeight(Number height)
Setter for the text line height.://www.w3schools.com/cssref/pr_dim_line-height.asp
-
print
void print(PaperSize paperSizeOrOptions, Boolean landscape)
Prints all elements on related stage.
-
print
void print(String paperSizeOrOptions, Boolean landscape)
Prints all elements on related stage.
-
removeAllListeners
void removeAllListeners(String type)
Removes all listeners from an object. You can also optionally remove listeners of some particular type.
-
selectable
void selectable()
Getter for the text selectable option.
-
selectable
LegendItemSettings selectable(Boolean enabled)
Setter for the text selectable.
-
text
void text()
Getter for the legend item text.
-
text
LegendItemSettings text(String text)
Setter for the legend item text.
-
textDirection
void textDirection()
Getter for the text direction.
-
textDirection
LegendItemSettings textDirection(Direction direction)
Setter for the text direction.
-
textDirection
LegendItemSettings textDirection(String direction)
Setter for the text direction.
-
textIndent
void textIndent()
Getter for the text indent.
-
textIndent
LegendItemSettings textIndent(Number indent)
Setter for the text indent.
-
textOverflow
void textOverflow()
Getter for the text overflow settings.
-
textOverflow
LegendItemSettings textOverflow(TextOverflow value)
Setter for the text overflow settings.
-
textOverflow
LegendItemSettings textOverflow(String value)
Setter for the text overflow settings.
-
textSettings
void textSettings()
Getter for the full text appearance settings.
-
textSettings
void textSettings(String name)
Getter for all text appearance settings.
-
textSettings
LegendItemSettings textSettings(String name, String settings)
Setter for the text appearance settings.
-
textSettings
LegendItemSettings textSettings(String name, Number settings)
Setter for the text appearance settings.
-
textSettings
LegendItemSettings textSettings(String name, Boolean settings)
Setter for the text appearance settings.
-
setOnClickListener
void setOnClickListener(ListenersInterface.OnClickListener listener)
-
setOnClickListener
void setOnClickListener(ListenersInterface.OnClickListener listener, String type, String ePath)
-
unlistenByKey
void unlistenByKey(String key)
Removes an event listener which was added with listen() by the key returned by listen() or listenOnce().
-
useHtml
void useHtml()
Getter for the useHTML flag.
-
useHtml
LegendItemSettings useHtml(Boolean enabled)
Setter for flag useHTML.
-
vAlign
void vAlign()
Getter for the text vertical align.
-
vAlign
LegendItemSettings vAlign(VAlign align)
Setter for the text vertical align.
-
vAlign
LegendItemSettings vAlign(String align)
Setter for the text vertical align.
-
wordBreak
void wordBreak()
Getter for the word-break mode.
-
wordBreak
LegendItemSettings wordBreak(WordBreak mode)
Setter for the word-break mode.
-
wordBreak
LegendItemSettings wordBreak(String mode)
Setter for the word-break mode.
-
wordWrap
void wordWrap()
Getter for the word-wrap mode.
-
wordWrap
LegendItemSettings wordWrap(WordWrap mode)
Setter for the word-wrap mode.
-
wordWrap
LegendItemSettings wordWrap(String mode)
Setter for the word-wrap mode.
-
zIndex
void zIndex()
Getter for the Z-index of the element.
-
zIndex
LegendItemSettings zIndex(Number zIndex)
Setter for the Z-index of the element.
-
container
LegendItemSettings container(Layer element)
Setter for the container.
-
container
LegendItemSettings container(Stage element)
Setter for the container.
-
container
LegendItemSettings container(String element)
Setter for the container.
-
parentBounds
Rect parentBounds()
Getter for the parent bounds. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
LegendItemSettings parentBounds(Rect bounds)
Setter for the parent bounds using single value. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
LegendItemSettings parentBounds(String bounds)
Setter for the parent bounds using single value. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
LegendItemSettings parentBounds(Number bounds)
Setter for the parent bounds using single value. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
LegendItemSettings parentBounds(Number left, Number top, Number width, Number height)
Setter for the parent bounds using several values. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
-
-
-