/** * Getter for left-bottom quarter. */ public com.anychart.core.utils.Quarter leftBottom() { return new com.anychart.core.utils.Quarter(jsBase + ".leftBottom()"); } /**
/** * Linear gradient fill. */ public com.anychart.core.utils.Quarter fill(String[] keys, Number angle, String mode, Number opacity) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".fill(%s, %s, %s, %s);", arrayToStringWrapQuotes(keys), angle, wrapQuotes(mode), opacity)); return this; } /**
/** * Setter for the quarter paddings in pixels using several numbers. */ public com.anychart.core.Chart padding(String value1, String value2, String value3, String value4) { return new com.anychart.core.Chart(String.format(Locale.US, jsBase + ".padding(%s, %s, %s, %s)", wrapQuotes(value1), wrapQuotes(value2), wrapQuotes(value3), wrapQuotes(value4))); } /**
/** * Setter for the quarter paddings in pixels using a single value. */ public com.anychart.core.Chart padding(String[] padding) { return new com.anychart.core.Chart(String.format(Locale.US, jsBase + ".padding(%s)", arrayToStringWrapQuotes(padding))); } /**
/** * Setter for the quarter paddings in pixels using several numbers. */ public com.anychart.core.Chart padding(String value1, String value2, String value3, Number value4) { return new com.anychart.core.Chart(String.format(Locale.US, jsBase + ".padding(%s, %s, %s, %s)", wrapQuotes(value1), wrapQuotes(value2), wrapQuotes(value3), value4)); } /**
/** * Setter for the quarter margin in pixels using a single complex object. */ public com.anychart.core.utils.Quarter margin(String[] margin) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".margin(%s);", arrayToStringWrapQuotes(margin))); return this; } /**
/** * Setter for the quarter paddings in pixels using several numbers. */ public com.anychart.core.Chart padding(String value1, String value2, Number value3, String value4) { return new com.anychart.core.Chart(String.format(Locale.US, jsBase + ".padding(%s, %s, %s, %s)", wrapQuotes(value1), wrapQuotes(value2), value3, wrapQuotes(value4))); } /**
/** * Linear gradient fill. */ public com.anychart.core.utils.Quarter fill(String[] keys, Number angle, Boolean mode, Number opacity) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".fill(%s, %s, %s, %s);", arrayToStringWrapQuotes(keys), angle, mode, opacity)); return this; } /**
/** * Getter for left-top quarter. */ public com.anychart.core.utils.Quarter leftTop() { return new com.anychart.core.utils.Quarter(jsBase + ".leftTop()"); } /**
/** * Setter for the quarter paddings in pixels using several numbers. */ public com.anychart.core.Chart padding(String value1, Number value2, String value3, String value4) { return new com.anychart.core.Chart(String.format(Locale.US, jsBase + ".padding(%s, %s, %s, %s)", wrapQuotes(value1), value2, wrapQuotes(value3), wrapQuotes(value4))); } /**
/** * Setter for fill settings using an object, an array or a string.<br/> Accepts: <ul> <li>{@link anychart.graphics.vector.LinearGradientFill}</li> <li>{@link anychart.graphics.vector.RadialGradientFill}</li> <li>{@link anychart.graphics.vector.Fill}</li> <li>{@link anychart.graphics.vector.ImageFill}</li> </ul> or a color as a string, along with opacity, if needed, format is "<b>Color Opacity</b>", e.g. "red 0.5". */ public com.anychart.core.utils.Quarter fill(String[] color) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".fill(%s);", arrayToStringWrapQuotes(color))); return this; } /**
/** * Getter for right-bottom quarter. */ public com.anychart.core.utils.Quarter rightBottom() { return new com.anychart.core.utils.Quarter(jsBase + ".rightBottom()"); } /**
/** * Setter for top stroke settings. */ public com.anychart.core.utils.Quarter topStroke(String value, Number thickness, String dashpattern, String lineJoin, String lineCap) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".topStroke(%s, %s, %s, %s, %s);", wrapQuotes(value), thickness, wrapQuotes(dashpattern), wrapQuotes(lineJoin), wrapQuotes(lineCap))); return this; } /**
/** * Radial gradient fill. */ public com.anychart.core.utils.Quarter fill(String[] keys, Number cx, Number cy, com.anychart.graphics.math.Rect mode, Number opacity, Number fx, Number fy) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".fill(%s, %s, %s, %s, %s, %s, %s);", arrayToStringWrapQuotes(keys), cx, cy, (mode != null) ? mode.getJsBase() : null, opacity, fx, fy)); return this; } /**
/** * Getter for right-top quarter. */ public com.anychart.core.utils.Quarter rightTop() { return new com.anychart.core.utils.Quarter(jsBase + ".rightTop()"); } /**
/** * Setter for right stroke settings. */ public com.anychart.core.utils.Quarter rightStroke(String value, Number thickness, String dashpattern, String lineJoin, String lineCap) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".rightStroke(%s, %s, %s, %s, %s);", wrapQuotes(value), thickness, wrapQuotes(dashpattern), wrapQuotes(lineJoin), wrapQuotes(lineCap))); return this; } /**
/** * Linear gradient fill. */ public com.anychart.core.utils.Quarter fill(String[] keys, Number angle, com.anychart.graphics.vector.Rect mode, Number opacity) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".fill(%s, %s, %s, %s);", arrayToStringWrapQuotes(keys), angle, (mode != null) ? mode.getJsBase() : null, opacity)); return this; } /**
public static Quarter instantiate() { return new Quarter("new anychart.core.utils.quarter()"); }
/** * Setter for element bounds settings. */ public com.anychart.core.utils.Quarter bounds(String x, String y, String width, String height) { APIlib.getInstance().addJSLine(String.format(Locale.US, jsBase + ".bounds(%s, %s, %s, %s);", wrapQuotes(x), wrapQuotes(y), wrapQuotes(width), wrapQuotes(height))); return this; } /**