-
public class Map extends VisualBase
Map grids.
-
-
Method Summary
Modifier and Type Method Description static Mapinstantiate()StringgetJsBase()voiddrawFirstLine()Getter for the first line drawing flag. MapdrawFirstLine(Boolean enabled)Setter for the first line drawing. voiddrawLastLine()Getter for the last line drawing flag. MapdrawLastLine(Boolean enabled)Setter for the last line drawing. voidenabled()Getter for the grid enabled state. Mapenabled(Boolean enabled)Setter for the grid enabled state. voidfill()Getter for grid fill settings. Mapfill(Fill color)Setter for fill settings using an array, an object or a string. Mapfill(GradientKey color)Setter for fill settings using an array, an object or a string. Mapfill(Array<String> color)Setter for fill settings using an array, an object or a string. Mapfill(String color, Number opacity)Fill color with opacity. Mapfill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. Mapfill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient fill. Mapfill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient fill. Mapfill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. Mapfill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient fill. Mapfill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient fill. Mapfill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. Mapfill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. voidminorStroke()Getter for the minor grid stroke line. MapminorStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for grid stroke settings. MapminorStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for grid stroke settings. MapminorStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for grid stroke settings. MapminorStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for grid stroke settings. MapminorStroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for grid stroke settings. MapminorStroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for grid stroke settings. MapminorStroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for grid stroke settings. MapminorStroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for grid stroke settings. MapminorStroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for grid stroke settings. MapminorStroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for grid stroke settings. MapminorStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for grid stroke settings. MapminorStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for grid stroke settings. MapminorStroke(String settings)Setter for grid stroke using an object. RangeColorspalette()Getter for the colors palette. Mappalette(RangeColors settings)Setter for the grid colors palette. Mappalette(DistinctColors settings)Setter for the grid colors palette. Mappalette(String settings)Setter for the grid colors palette. Mappalette(Array<String> settings)Setter for the grid colors palette. 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. voidstroke()Getter for the grid stroke line. Mapstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for grid stroke settings. Mapstroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for grid stroke settings. Mapstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for grid stroke settings. Mapstroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for grid stroke settings. Mapstroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for grid stroke settings. Mapstroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for grid stroke settings. Mapstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for grid stroke settings. Mapstroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for grid stroke settings. Mapstroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for grid stroke settings. Mapstroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for grid stroke settings. Mapstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for grid stroke settings. Mapstroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for grid stroke settings. Mapstroke(String settings)Setter for the grid 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 grid zIndex. MapzIndex(Number zIndex)Setter for the grid zIndex. Layercontainer()Getter for the container. Mapcontainer(Layer element)Setter for the container. Mapcontainer(Stage element)Setter for the container. Mapcontainer(String element)Setter for the container. RectparentBounds()Getter for the parent bounds. MapparentBounds(Rect bounds)Setter for the parent bounds using single value. MapparentBounds(String bounds)Setter for the parent bounds using single value. MapparentBounds(Number bounds)Setter for the parent bounds using single value. MapparentBounds(Number left, Number top, Number width, Number height)Setter for the parent bounds using several values. Mapfill(String value)-
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
-
Map
Map(String jsChart)
-
-
Method Detail
-
instantiate
static Map instantiate()
-
drawFirstLine
void drawFirstLine()
Getter for the first line drawing flag.
-
drawFirstLine
Map drawFirstLine(Boolean enabled)
Setter for the first line drawing.
-
drawLastLine
void drawLastLine()
Getter for the last line drawing flag.
-
drawLastLine
Map drawLastLine(Boolean enabled)
Setter for the last line drawing.
-
enabled
void enabled()
Getter for the grid enabled state.
-
fill
void fill()
Getter for grid fill settings.
-
fill
Map 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
Map 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
Map 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
Map fill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Map fill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Map fill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Map fill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Map fill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Map fill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Map 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
Map 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}
-
minorStroke
void minorStroke()
Getter for the minor grid stroke line.
-
minorStroke
Map minorStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
minorStroke
Map minorStroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
minorStroke
Map minorStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
minorStroke
Map minorStroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
minorStroke
Map minorStroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
minorStroke
Map minorStroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
minorStroke
Map minorStroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
minorStroke
Map minorStroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
minorStroke
Map minorStroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
minorStroke
Map minorStroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
minorStroke
Map minorStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
minorStroke
Map minorStroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
minorStroke
Map minorStroke(String settings)
Setter for grid stroke using an object.
-
palette
RangeColors palette()
Getter for the colors palette.
-
palette
Map palette(RangeColors settings)
Setter for the grid colors palette.
-
palette
Map palette(DistinctColors settings)
Setter for the grid colors palette.
-
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.
-
stroke
void stroke()
Getter for the grid stroke line.
-
stroke
Map stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Map stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Map stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Map stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Map stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Map stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Map stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Map stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Map stroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Map stroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Map stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for grid stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Map stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for 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 grid zIndex.
-
parentBounds
Rect parentBounds()
Getter for the parent bounds. Bounds that would be used in case of percent size calculations. Expects pixel values only.
-
parentBounds
Map 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
Map 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
Map 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
Map 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.
-
-
-
-