-
-
Method Summary
Modifier and Type Method Description static Linearinstantiate()StringgetJsBase()Linearaxis()Getter for the grid axis. Linearaxis(Linear axis)Setter for the grid axis. Layercontainer()Getter for the container. Linearcontainer(Layer element)Setter for the container. Linearcontainer(Stage element)Setter for the container. Linearcontainer(String element)Setter for the container. voiddrawFirstLine()Getter for first line drawing flag. LineardrawFirstLine(Boolean enabled)Setter for the first line drawing flag. voiddrawLastLine()Getter for the last line drawing flag. LineardrawLastLine(Boolean enabled)Setter for the last line drawing flag. voidenabled()Getter for the element state (enabled or disabled). Linearenabled(Boolean enabled)Setter for the element enabled state. voidfill()Getter for the grid fill settings. Linearfill(Fill color)Setter for fill settings using an array, an object or a string. Linearfill(GradientKey color)Setter for fill settings using an array, an object or a string. Linearfill(Array<String> color)Setter for fill settings using an array, an object or a string. Linearfill(String color, Number opacity)Fill color with opacity. Linearfill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. Linearfill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient fill. Linearfill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient fill. Linearfill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. Linearfill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient fill. Linearfill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient fill. Linearfill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. Linearfill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. voidisHorizontal()Whether an grid has horizontal layout. voidisMinor()Getter for the minor grid state flag. LinearisMinor(Boolean enabled)Setter for the minor grid state flag. voidlayout()Getter for the grid layout. Linearlayout(Layout layout)Setter for the grid layout. Linearlayout(String layout)Setter for the grid layout. RangeColorspalette()Getter for the colors palette. Linearpalette(RangeColors settings)Setter for the grid colors palette. Linearpalette(DistinctColors settings)Setter for the grid colors palette. Linearpalette(String settings)Setter for the grid colors palette. Linearpalette(Array<String> settings)Setter for the grid colors palette. RectparentBounds()Getter for the parent bounds. LinearparentBounds(Rect bounds)Setter for the parent bounds using single value. LinearparentBounds(String bounds)Setter for the parent bounds using single value. LinearparentBounds(Number bounds)Setter for the parent bounds using single value. LinearparentBounds(Number left, Number top, Number width, Number height)Setter for the parent bounds using several values. 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. Basescale()Getter for the grid scale. Linearscale(String settings)Setter for the grid scale. Linearscale(ScaleTypes settings)Setter for the grid scale. Linearscale(Base settings)Setter for the grid scale. voidstroke()Getter for the grid stroke. Linearstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the grid stroke settings. Linearstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the grid stroke settings. Linearstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for the grid stroke settings. Linearstroke(String settings)Setter for the stroke using an object. 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(). voidzIndex()Getter for the Z-index of the element. LinearzIndex(Number zIndex)Setter for the Z-index of the element. Linearfill(String value)-
-
Constructor Detail
-
Linear
Linear(String jsChart)
-
-
Method Detail
-
instantiate
static Linear instantiate()
-
drawFirstLine
void drawFirstLine()
Getter for first line drawing flag.
-
drawFirstLine
Linear drawFirstLine(Boolean enabled)
Setter for the first line drawing flag.
-
drawLastLine
void drawLastLine()
Getter for the last line drawing flag.
-
drawLastLine
Linear drawLastLine(Boolean enabled)
Setter for the last line drawing flag.
-
enabled
void enabled()
Getter for the element state (enabled or disabled).
-
fill
void fill()
Getter for the grid fill settings.
-
fill
Linear fill(Fill color)
Setter for fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Linear fill(GradientKey color)
Setter for fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Linear fill(Array<String> color)
Setter for fill settings using an array, an object or a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Linear fill(String color, Number opacity)
Fill color with opacity. Fill as a string or an object.
-
fill
Linear fill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Linear fill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Linear fill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Linear fill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Linear fill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Linear fill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Linear fill(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}
-
fill
Linear fill(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}
-
isHorizontal
void isHorizontal()
Whether an grid has horizontal layout. Layout is define by layout method.
-
isMinor
void isMinor()
Getter for the minor grid state flag.
-
layout
void layout()
Getter for the grid layout.
-
palette
RangeColors palette()
Getter for the colors palette.
-
palette
Linear palette(RangeColors settings)
Setter for the grid colors palette.
-
palette
Linear palette(DistinctColors settings)
Setter for the grid colors palette.
-
parentBounds
Rect parentBounds()
Getter for the parent bounds. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
Linear 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
Linear 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
Linear 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
Linear 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.
-
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.
-
scale
Linear scale(ScaleTypes settings)
Setter for the grid scale.
-
stroke
void stroke()
Getter for the grid stroke.
-
stroke
Linear stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Linear stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Linear stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for the grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
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().
-
zIndex
void zIndex()
Getter for the Z-index of the element.
-
-
-
-