-
-
Method Summary
Modifier and Type Method Description static Centerinstantiate()StringgetJsBase()Elementcontent()Getter for the center content. Centercontent(Element contentSettings)Setter for the center content. Centercontent(VisualBase contentSettings)Setter for the center content. Centercontent(String contentSettings)Setter for the center content. voidfill()Getter for fill settings. Centerfill(Fill color)Setter for fill settings using an array, an object and a string. Centerfill(GradientKey color)Setter for fill settings using an array, an object and a string. Centerfill(Array<String> color)Setter for fill settings using an array, an object and a string. Centerfill(String color, Number opacity)Fill color with opacity. Centerfill(GradientKey keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. Centerfill(GradientKey keys, Number angle, Rect mode, Number opacity)Linear gradient fill. Centerfill(GradientKey keys, Number angle, String mode, Number opacity)Linear gradient fill. Centerfill(Array<String> keys, Number angle, Boolean mode, Number opacity)Linear gradient fill. Centerfill(Array<String> keys, Number angle, Rect mode, Number opacity)Linear gradient fill. Centerfill(Array<String> keys, Number angle, String mode, Number opacity)Linear gradient fill. Centerfill(GradientKey keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. Centerfill(Array<String> keys, Number cx, Number cy, Rect mode, Number opacity, Number fx, Number fy)Radial gradient fill. RectgetBounds()Returns pie center content bounds. voidgetPoint()Gets the pie chart center point. voidremoveAllListeners(String type)Removes all listeners from an object. voidstroke()Getter for center stroke settings. Basestroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for center stroke settings. Basestroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for center stroke settings. Basestroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for center stroke settings. Basestroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for center stroke settings. Basestroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for center stroke settings. Basestroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for center stroke settings. Basestroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for center stroke settings. Basestroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for center stroke settings. Basestroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)Setter for center stroke settings. Basestroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)Setter for center stroke settings. Basestroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)Setter for center stroke settings. Basestroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)Setter for center stroke settings. Centerstroke(String settings)Setter for 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(). Centerfill(String value)-
-
Constructor Detail
-
Center
Center(String jsChart)
-
-
Method Detail
-
instantiate
static Center instantiate()
-
content
Center content(VisualBase contentSettings)
Setter for the center content.
-
fill
void fill()
Getter for fill settings.
-
fill
Center fill(Fill color)
Setter for fill settings using an array, an object and a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Center fill(GradientKey color)
Setter for fill settings using an array, an object and a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Center fill(Array<String> color)
Setter for fill settings using an array, an object and a string. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Center fill(String color, Number opacity)
Fill color with opacity. Fill as a string or an object.
-
fill
Center fill(GradientKey keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Center fill(GradientKey keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Center fill(GradientKey keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Center fill(Array<String> keys, Number angle, Boolean mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Center fill(Array<String> keys, Number angle, Rect mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Center fill(Array<String> keys, Number angle, String mode, Number opacity)
Linear gradient fill. {docs:Graphics/Fill_Settings}Learn more about coloring.{docs}
-
fill
Center 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
Center 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}
-
getPoint
void getPoint()
Gets the pie chart center point.Note: Works only after draw is called.
-
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 center stroke settings.
-
stroke
Base stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for center stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(Stroke color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for center stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for center stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(Stroke color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for center stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for center stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(ColoredFill color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for center stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for center stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(ColoredFill color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for center stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(String color, Number thickness, String dashpattern, String lineJoin, String lineCap)
Setter for center stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(String color, Number thickness, String dashpattern, String lineJoin, StrokeLineCap lineCap)
Setter for center stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, String lineCap)
Setter for center stroke settings. {docs:Graphics/Stroke_Settings}Learn more about stroke settings.{docs}
-
stroke
Base stroke(String color, Number thickness, String dashpattern, StrokeLineJoin lineJoin, StrokeLineCap lineCap)
Setter for center 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().
-
-
-
-