Class ArrowHeads
- java.lang.Object
- 
- org.pepstock.charba.client.commons.NativeObjectContainer
- 
- org.pepstock.charba.client.commons.AbstractNode
- 
- org.pepstock.charba.client.annotation.Arrow
- 
- org.pepstock.charba.client.annotation.ArrowHeads
 
 
 
 
- 
 public final class ArrowHeads extends Arrow Implements a ARROWHEADS to apply on a LINE annotation.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Field SummaryFields Modifier and Type Field Description static booleanDEFAULT_DISPLAYDefault arrow heads display, false.static booleanDEFAULT_FILLDefault fill options in order to fill the arrows, false.static intDEFAULT_LENGTHDefault amount of pixels to define the length of the arrow heads, 12.static intDEFAULT_WIDTHDefault amount of pixels to define the width of the arrow heads, 6.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Default Methods Modifier and Type Method Description default IsColorgetBackgroundColor()Returns the color of the background of annotation.default StringgetBackgroundColorAsString()Returns the color of the background of annotation.default ColorCallback<AnnotationContext>getBackgroundColorCallback()Returns the callback called to set the color of the background of annotation.default IsColorgetBackgroundShadowColor()Returns the color of the shadow of annotation.default StringgetBackgroundShadowColorAsString()Returns the color of the shadow of annotation.default ColorCallback<AnnotationContext>getBackgroundShadowColorCallback()Returns the callback called to set the color of the shadow of annotation.default IsColorgetBorderColor()Returns the color of the border of annotation.default StringgetBorderColorAsString()Returns the color of the border of annotation.default ColorCallback<AnnotationContext>getBorderColorCallback()Returns the callback called to set the color of the border of annotation.default List<Integer>getBorderDash()Returns the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.default BorderDashCallback<AnnotationContext>getBorderDashCallback()Returns the callback called to set the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.default doublegetBorderDashOffset()Returns the line dash pattern offset.default BorderDashOffsetCallback<AnnotationContext>getBorderDashOffsetCallback()Returns the callback called to set the line dash pattern offset.default IsColorgetBorderShadowColor()Returns the color of the border shadow of annotation.default StringgetBorderShadowColorAsString()Returns the color of the border shadow of annotation.default ColorCallback<AnnotationContext>getBorderShadowColorCallback()Returns the callback called to set the color of the border shadow of annotation.default intgetBorderWidth()Returns the width of the border in pixels.default WidthCallback<AnnotationContext>getBorderWidthCallback()Returns the callback called to set the width of the border in pixels.default DisplayCallback<AnnotationContext>getDisplayCallback()Returns the callback called to set the display options.ArrowgetEnd()Returns the arrow head definition at end position.default FillCallbackgetFillCallback()Returns the callback called to settruewhether the arrow must be closed and filled.default intgetLength()Returns the length in pixels of the arrow head.default LengthCallbackgetLengthCallback()Returns the callback called to set the amount of pixels of the length of the arrow.default doublegetShadowBlur()Returns the amount of blur applied to shadows.default ShadowBlurCallbackgetShadowBlurCallback()Returns the callback called to set the amount of blur applied to shadows.default intgetShadowOffsetX()Returns the distance that shadows will be offset horizontally.default ShadowOffsetCallbackgetShadowOffsetXCallback()Returns the callback called to set the distance that shadows will be offset horizontally.default intgetShadowOffsetY()Returns the distance that shadows will be offset vertically.default ShadowOffsetCallbackgetShadowOffsetYCallback()Returns the callback called to set the distance that shadows will be offset vertically.ArrowgetStart()Returns the arrow head definition at start position.default intgetWidth()Returns the width in pixels of the arrow head.default WidthCallback<AnnotationContext>getWidthCallback()Returns the callback called to set the amount of pixels of the width of the arrow.default booleanisDisplay()Returnstruewhether the arrow heads should be displayed.default booleanisFill()Returnstruewhether the arrow heads should be filled.default voidsetBackgroundColor(String backgroundColor)Sets the color of the background of annotation.default voidsetBackgroundColor(ColorCallback<AnnotationContext> backgroundColorCallback)Sets the callback to set the color of the background of annotation.default voidsetBackgroundColor(NativeCallback backgroundColorCallback)Sets the callback to set the color of the background of annotation.default voidsetBackgroundColor(IsColor backgroundColor)Sets the color of the background of annotation.default voidsetBackgroundShadowColor(String backgroundColor)Sets the color of the shadow of annotation.default voidsetBackgroundShadowColor(ColorCallback<AnnotationContext> borderShadowColorCallback)Sets the callback to set the color of the shadow of annotation.default voidsetBackgroundShadowColor(NativeCallback borderShadowColorCallback)Sets the callback to set the color of the shadow of annotation.default voidsetBackgroundShadowColor(IsColor backgroundColor)Sets the color of the shadow of annotation.default voidsetBorderColor(String borderColor)Sets the color of the border of annotation.default voidsetBorderColor(ColorCallback<AnnotationContext> borderColorCallback)Sets the callback to set the color of the border of annotation.default voidsetBorderColor(NativeCallback borderColorCallback)Sets the callback to set the color of the border of annotation.default voidsetBorderColor(IsColor borderColor)Sets the color of the border of annotation.default voidsetBorderDash(int... borderDash)Sets the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.default voidsetBorderDash(BorderDashCallback<AnnotationContext> borderDashCallback)Sets the callback to set the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.default voidsetBorderDash(NativeCallback borderDashCallback)Sets the callback to set the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.default voidsetBorderDashOffset(double borderDashOffset)Sets the line dash pattern offset.default voidsetBorderDashOffset(BorderDashOffsetCallback<AnnotationContext> borderDashOffsetCallback)Sets the callback to set the line dash pattern offset.default voidsetBorderDashOffset(NativeCallback borderDashOffsetCallback)Sets the callback to set the line dash pattern offset.default voidsetBorderShadowColor(String borderColor)Sets the color of the border shadow of annotation.default voidsetBorderShadowColor(ColorCallback<AnnotationContext> borderShadowColorCallback)Sets the callback to set the color of the border shadow of annotation.default voidsetBorderShadowColor(NativeCallback borderShadowColorCallback)Sets the callback to set the color of the border shadow of annotation.default voidsetBorderShadowColor(IsColor borderColor)Sets the color of the border shadow of annotation.default voidsetBorderWidth(int borderWidth)Sets the width of the border in pixels.default voidsetBorderWidth(NativeCallback borderWidthCallback)Sets the callback to set the color of the width of the border in pixels.default voidsetBorderWidth(WidthCallback<AnnotationContext> borderWidthCallback)Sets the callback to set the color of the width of the border in pixels.default voidsetShadowBlur(double shadowBlur)Sets the amount of blur applied to shadows.default voidsetShadowBlur(ShadowBlurCallback shadowBlurCallback)Sets the callback to set the amount of blur applied to shadows.default voidsetShadowBlur(NativeCallback shadowBlurCallback)Sets the callback to set the amount of blur applied to shadows.default voidsetShadowOffsetX(int shadowOffset)Sets the distance that shadows will be offset horizontally.default voidsetShadowOffsetX(ShadowOffsetCallback shadowOffsetCallback)Sets the callback to set the distance that shadows will be offset horizontally.default voidsetShadowOffsetX(NativeCallback shadowOffsetCallback)Sets the callback to set the distance that shadows will be offset horizontally.default voidsetShadowOffsetY(int shadowOffset)Sets the distance that shadows will be offset vertically.default voidsetShadowOffsetY(ShadowOffsetCallback shadowOffsetCallback)Sets the callback to set the distance that shadows will be offset vertically.default voidsetShadowOffsetY(NativeCallback shadowOffsetCallback)Sets the callback to set the distance that shadows will be offset vertically.- 
Methods inherited from class org.pepstock.charba.client.annotation.ArrowgetBackgroundColorHandler, getBorderOptionsHandler, getDisplayCallback, getExtendedShadowOptionsHandler, getFillCallback, getLength, getLengthCallback, getShadowOptionsHandler, getWidth, getWidthCallback, isDisplay, isFill, setDisplay, setDisplay, setDisplay, setFill, setFill, setFill, setLength, setLength, setLength, setWidth, setWidth, setWidth
 - 
Methods inherited from class org.pepstock.charba.client.commons.AbstractNodecheckAndAddToParent, getChildKey, getParentNode, getRootNode, retrieveRoot, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setElementAndAddToParent, setInternalCallbackToModel, setInternalCallbackToModel, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent
 - 
Methods inherited from class org.pepstock.charba.client.commons.NativeObjectContainercheckDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
 
- 
 
- 
- 
- 
Field Detail- 
DEFAULT_DISPLAYpublic static final boolean DEFAULT_DISPLAY Default arrow heads display, false.- See Also:
- Constant Field Values
 
 - 
DEFAULT_LENGTHpublic static final int DEFAULT_LENGTH Default amount of pixels to define the length of the arrow heads, 12.- See Also:
- Constant Field Values
 
 - 
DEFAULT_WIDTHpublic static final int DEFAULT_WIDTH Default amount of pixels to define the width of the arrow heads, 6.- See Also:
- Constant Field Values
 
 - 
DEFAULT_FILLpublic static final boolean DEFAULT_FILL Default fill options in order to fill the arrows, false.- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getStartpublic Arrow getStart() Returns the arrow head definition at start position.- Returns:
- the arrow head definition at start position
 
 - 
getEndpublic Arrow getEnd() Returns the arrow head definition at end position.- Returns:
- the arrow head definition at end position
 
 - 
isDisplaypublic default boolean isDisplay() Returnstruewhether the arrow heads should be displayed.- Returns:
- truewhether the arrow heads should be displayed
 
 - 
isFillpublic default boolean isFill() Returnstruewhether the arrow heads should be filled.- Returns:
- truewhether the arrow heads should be filled
 
 - 
getLengthpublic default int getLength() Returns the length in pixels of the arrow head.- Returns:
- the length in pixels of the arrow head
 
 - 
getWidthpublic default int getWidth() Returns the width in pixels of the arrow head.- Returns:
- the width in pixels of the arrow head
 
 - 
getDisplayCallbackpublic default DisplayCallback<AnnotationContext> getDisplayCallback() Returns the callback called to set the display options.- Returns:
- the callback called to set the display options
 
 - 
getLengthCallbackpublic default LengthCallback getLengthCallback() Returns the callback called to set the amount of pixels of the length of the arrow.- Returns:
- the callback called to set the amount of pixels of the length of the arrow.
 
 - 
getWidthCallbackpublic default WidthCallback<AnnotationContext> getWidthCallback() Returns the callback called to set the amount of pixels of the width of the arrow.- Returns:
- the callback called to set the amount of pixels of the width of the arrow.
 
 - 
getFillCallbackpublic default FillCallback getFillCallback() Returns the callback called to settruewhether the arrow must be closed and filled.- Returns:
- the callback called to set truewhether the arrow must be closed and filled.
 
 - 
setBorderColorpublic default void setBorderColor(IsColor borderColor) Sets the color of the border of annotation.- Parameters:
- borderColor- the color of the border of annotation
 
 - 
setBorderColorpublic default void setBorderColor(String borderColor) Sets the color of the border of annotation.- Parameters:
- borderColor- the color of the border of annotation
 
 - 
getBorderColorAsStringpublic default String getBorderColorAsString() Returns the color of the border of annotation.- Returns:
- the color of the border of annotation
 
 - 
getBorderColorpublic default IsColor getBorderColor() Returns the color of the border of annotation.- Returns:
- the color of the border of annotation
 
 - 
setBorderWidthpublic default void setBorderWidth(int borderWidth) Sets the width of the border in pixels.- Parameters:
- borderWidth- the width of the border in pixels.
 
 - 
getBorderWidthpublic default int getBorderWidth() Returns the width of the border in pixels.- Returns:
- the width of the border in pixels.
 
 - 
setBorderDashpublic default void setBorderDash(int... borderDash) Sets the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.- Parameters:
- borderDash- the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.
 
 - 
getBorderDashpublic default List<Integer> getBorderDash() Returns the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.- Returns:
- the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.
 
 - 
setBorderDashOffsetpublic default void setBorderDashOffset(double borderDashOffset) Sets the line dash pattern offset.- Parameters:
- borderDashOffset- the line dash pattern offset.
 
 - 
getBorderDashOffsetpublic default double getBorderDashOffset() Returns the line dash pattern offset.- Returns:
- the line dash pattern offset.
 
 - 
getBorderColorCallbackpublic default ColorCallback<AnnotationContext> getBorderColorCallback() Returns the callback called to set the color of the border of annotation.- Returns:
- the callback called to set the color of the border of annotation
 
 - 
setBorderColorpublic default void setBorderColor(ColorCallback<AnnotationContext> borderColorCallback) Sets the callback to set the color of the border of annotation.- Parameters:
- borderColorCallback- to set the color of the border of annotation
 
 - 
setBorderColorpublic default void setBorderColor(NativeCallback borderColorCallback) Sets the callback to set the color of the border of annotation.- Parameters:
- borderColorCallback- to set the color of the border of annotation
 
 - 
getBorderWidthCallbackpublic default WidthCallback<AnnotationContext> getBorderWidthCallback() Returns the callback called to set the width of the border in pixels.- Returns:
- the callback called to set the width of the border in pixels
 
 - 
setBorderWidthpublic default void setBorderWidth(WidthCallback<AnnotationContext> borderWidthCallback) Sets the callback to set the color of the width of the border in pixels.- Parameters:
- borderWidthCallback- to set the width of the border in pixels
 
 - 
setBorderWidthpublic default void setBorderWidth(NativeCallback borderWidthCallback) Sets the callback to set the color of the width of the border in pixels.- Parameters:
- borderWidthCallback- to set the width of the border in pixels
 
 - 
getBorderDashCallbackpublic default BorderDashCallback<AnnotationContext> getBorderDashCallback() Returns the callback called to set the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.- Returns:
- the callback called to set the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern
 
 - 
setBorderDashpublic default void setBorderDash(BorderDashCallback<AnnotationContext> borderDashCallback) Sets the callback to set the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.- Parameters:
- borderDashCallback- to set the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern
 
 - 
setBorderDashpublic default void setBorderDash(NativeCallback borderDashCallback) Sets the callback to set the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.- Parameters:
- borderDashCallback- to set the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern
 
 - 
getBorderDashOffsetCallbackpublic default BorderDashOffsetCallback<AnnotationContext> getBorderDashOffsetCallback() Returns the callback called to set the line dash pattern offset.- Returns:
- the callback called to set the line dash pattern offset
 
 - 
setBorderDashOffsetpublic default void setBorderDashOffset(BorderDashOffsetCallback<AnnotationContext> borderDashOffsetCallback) Sets the callback to set the line dash pattern offset.- Parameters:
- borderDashOffsetCallback- to set the line dash pattern offset
 
 - 
setBorderDashOffsetpublic default void setBorderDashOffset(NativeCallback borderDashOffsetCallback) Sets the callback to set the line dash pattern offset.- Parameters:
- borderDashOffsetCallback- to set the line dash pattern offset
 
 - 
setBorderShadowColorpublic default void setBorderShadowColor(IsColor borderColor) Sets the color of the border shadow of annotation.- Parameters:
- borderColor- the color of the border shadow of annotation
 
 - 
setBorderShadowColorpublic default void setBorderShadowColor(String borderColor) Sets the color of the border shadow of annotation.- Parameters:
- borderColor- the color of the border shadow of annotation
 
 - 
getBorderShadowColorAsStringpublic default String getBorderShadowColorAsString() Returns the color of the border shadow of annotation.- Returns:
- the color of the border shadow of annotation
 
 - 
getBorderShadowColorpublic default IsColor getBorderShadowColor() Returns the color of the border shadow of annotation.- Returns:
- the color of the border shadow of annotation
 
 - 
setShadowBlurpublic default void setShadowBlur(double shadowBlur) Sets the amount of blur applied to shadows.- Parameters:
- shadowBlur- the amount of blur applied to shadows
 
 - 
getShadowBlurpublic default double getShadowBlur() Returns the amount of blur applied to shadows.- Returns:
- the amount of blur applied to shadows
 
 - 
setShadowOffsetXpublic default void setShadowOffsetX(int shadowOffset) Sets the distance that shadows will be offset horizontally.- Parameters:
- shadowOffset- the distance that shadows will be offset horizontally.
 
 - 
getShadowOffsetXpublic default int getShadowOffsetX() Returns the distance that shadows will be offset horizontally.- Returns:
- the distance that shadows will be offset horizontally.
 
 - 
setShadowOffsetYpublic default void setShadowOffsetY(int shadowOffset) Sets the distance that shadows will be offset vertically.- Parameters:
- shadowOffset- the distance that shadows will be offset vertically.
 
 - 
getShadowOffsetYpublic default int getShadowOffsetY() Returns the distance that shadows will be offset vertically.- Returns:
- the distance that shadows will be offset vertically.
 
 - 
getBorderShadowColorCallbackpublic default ColorCallback<AnnotationContext> getBorderShadowColorCallback() Returns the callback called to set the color of the border shadow of annotation.- Returns:
- the callback called to set the color of the border shadow of annotation
 
 - 
setBorderShadowColorpublic default void setBorderShadowColor(ColorCallback<AnnotationContext> borderShadowColorCallback) Sets the callback to set the color of the border shadow of annotation.- Parameters:
- borderShadowColorCallback- to set the color of the border shadow of annotation
 
 - 
setBorderShadowColorpublic default void setBorderShadowColor(NativeCallback borderShadowColorCallback) Sets the callback to set the color of the border shadow of annotation.- Parameters:
- borderShadowColorCallback- to set the color of the border shadow of annotation
 
 - 
getShadowBlurCallbackpublic default ShadowBlurCallback getShadowBlurCallback() Returns the callback called to set the amount of blur applied to shadows.- Returns:
- the callback called to set the amount of blur applied to shadows.
 
 - 
setShadowBlurpublic default void setShadowBlur(ShadowBlurCallback shadowBlurCallback) Sets the callback to set the amount of blur applied to shadows.- Parameters:
- shadowBlurCallback- to set the amount of blur applied to shadows.
 
 - 
setShadowBlurpublic default void setShadowBlur(NativeCallback shadowBlurCallback) Sets the callback to set the amount of blur applied to shadows.- Parameters:
- shadowBlurCallback- to set the amount of blur applied to shadows.
 
 - 
getShadowOffsetXCallbackpublic default ShadowOffsetCallback getShadowOffsetXCallback() Returns the callback called to set the distance that shadows will be offset horizontally.- Returns:
- the callback called to set the distance that shadows will be offset horizontally.
 
 - 
setShadowOffsetXpublic default void setShadowOffsetX(ShadowOffsetCallback shadowOffsetCallback) Sets the callback to set the distance that shadows will be offset horizontally.- Parameters:
- shadowOffsetCallback- to set the distance that shadows will be offset horizontally.
 
 - 
setShadowOffsetXpublic default void setShadowOffsetX(NativeCallback shadowOffsetCallback) Sets the callback to set the distance that shadows will be offset horizontally.- Parameters:
- shadowOffsetCallback- to set the distance that shadows will be offset horizontally.
 
 - 
getShadowOffsetYCallbackpublic default ShadowOffsetCallback getShadowOffsetYCallback() Returns the callback called to set the distance that shadows will be offset vertically.- Returns:
- the callback called to set the distance that shadows will be offset vertically.
 
 - 
setShadowOffsetYpublic default void setShadowOffsetY(ShadowOffsetCallback shadowOffsetCallback) Sets the callback to set the distance that shadows will be offset vertically.- Parameters:
- shadowOffsetCallback- to set the distance that shadows will be offset vertically.
 
 - 
setShadowOffsetYpublic default void setShadowOffsetY(NativeCallback shadowOffsetCallback) Sets the callback to set the distance that shadows will be offset vertically.- Parameters:
- shadowOffsetCallback- to set the distance that shadows will be offset vertically.
 
 - 
setBackgroundShadowColorpublic default void setBackgroundShadowColor(IsColor backgroundColor) Sets the color of the shadow of annotation.- Parameters:
- backgroundColor- the color of the shadow of annotation
 
 - 
setBackgroundShadowColorpublic default void setBackgroundShadowColor(String backgroundColor) Sets the color of the shadow of annotation.- Parameters:
- backgroundColor- the color of the shadow of annotation
 
 - 
getBackgroundShadowColorAsStringpublic default String getBackgroundShadowColorAsString() Returns the color of the shadow of annotation.- Returns:
- the color of the shadow of annotation
 
 - 
getBackgroundShadowColorpublic default IsColor getBackgroundShadowColor() Returns the color of the shadow of annotation.- Returns:
- the color of the shadow of annotation
 
 - 
getBackgroundShadowColorCallbackpublic default ColorCallback<AnnotationContext> getBackgroundShadowColorCallback() Returns the callback called to set the color of the shadow of annotation.- Returns:
- the callback called to set the color of the shadow of annotation
 
 - 
setBackgroundShadowColorpublic default void setBackgroundShadowColor(ColorCallback<AnnotationContext> borderShadowColorCallback) Sets the callback to set the color of the shadow of annotation.- Parameters:
- borderShadowColorCallback- to set the color of the shadow of annotation
 
 - 
setBackgroundShadowColorpublic default void setBackgroundShadowColor(NativeCallback borderShadowColorCallback) Sets the callback to set the color of the shadow of annotation.- Parameters:
- borderShadowColorCallback- to set the color of the shadow of annotation
 
 - 
setBackgroundColorpublic default void setBackgroundColor(IsColor backgroundColor) Sets the color of the background of annotation.- Parameters:
- backgroundColor- the color of the background of annotation
 
 - 
setBackgroundColorpublic default void setBackgroundColor(String backgroundColor) Sets the color of the background of annotation.- Parameters:
- backgroundColor- the color of the background of annotation
 
 - 
getBackgroundColorAsStringpublic default String getBackgroundColorAsString() Returns the color of the background of annotation.- Returns:
- the color of the background of annotation
 
 - 
getBackgroundColorpublic default IsColor getBackgroundColor() Returns the color of the background of annotation.- Returns:
- the color of the background of annotation
 
 - 
getBackgroundColorCallbackpublic default ColorCallback<AnnotationContext> getBackgroundColorCallback() Returns the callback called to set the color of the background of annotation.- Returns:
- the callback called to set the color of the background of annotation
 
 - 
setBackgroundColorpublic default void setBackgroundColor(ColorCallback<AnnotationContext> backgroundColorCallback) Sets the callback to set the color of the background of annotation.- Parameters:
- backgroundColorCallback- to set the color of the background of annotation
 
 - 
setBackgroundColorpublic default void setBackgroundColor(NativeCallback backgroundColorCallback) Sets the callback to set the color of the background of annotation.- Parameters:
- backgroundColorCallback- to set the color of the background of annotation
 
 
- 
 
-