Interface HasShadow<T>

Type Parameters:
T - origin class type
All Known Implementing Classes:
AbstractAreaStyle, AbstractAxisPointer.Handle, AbstractBorderedTextStyle, AbstractEnhancedLabel, AbstractItemStyle, AbstractLegend, AbstractLegend.SelectorLabel, AbstractLegend.TextStyle, AreaStyle, AxisLabel, BarSeries.BackgroundStyle, BarSeries.ItemStyle, CandlestickSeries.ItemStyle, Emphasis.IconStyle, GaugeSeries.AbstractGaugeText, GaugeSeries.AxisLine.LineStyle, GaugeSeries.Detail, GaugeSeries.Title, Grid, HasAxisName.NameTextStyle, ItemStyle, ItemStyleWithDecal, Label, Label, Legend, LineSeries.AbstractLineElement.AreaStyle, LineSeries.AreaStyle, LineSeries.EndLabel, LineSeries.ItemStyle, LineStyle, Radar.AxisName, RadarSeries.AreaStyle, RichStyle, ScrollableLegend, ShadowStyle, Title

public interface HasShadow<T>
A component that has shadow.
  • Method Details

    • getShadowBlur

      Integer getShadowBlur()
      Returns:
      depth of shadow blur
    • setShadowBlur

      void setShadowBlur(Integer shadowBlur)
      Sets depth of shadow blur or replaces an existing one.
      Parameters:
      shadowBlur - depth of shadow blur
    • withShadowBlur

      default T withShadowBlur(Integer shadowBlur)
      Parameters:
      shadowBlur - depth of shadow blur
      Returns:
      this
      See Also:
    • getShadowColor

      Color getShadowColor()
      Returns:
      shadow color
    • setShadowColor

      void setShadowColor(Color shadowColor)
      Sets a color for shadow or replaces an existing one.
      Parameters:
      shadowColor - color to set
    • withShadowColor

      default T withShadowColor(Color shadowColor)
      Parameters:
      shadowColor - color to set
      Returns:
      thus
      See Also:
    • getShadowOffsetX

      Integer getShadowOffsetX()
      Returns:
      horizontal offset for shadow in pixels
    • setShadowOffsetX

      void setShadowOffsetX(Integer shadowOffsetX)
      Sets horizontal offset for shadow or replaces an existing one.
      Parameters:
      shadowOffsetX - offset to set in pixels
    • withShadowOffsetX

      default T withShadowOffsetX(Integer shadowOffsetX)
      Parameters:
      shadowOffsetX - offset to set in pixels
      Returns:
      this
      See Also:
    • getShadowOffsetY

      Integer getShadowOffsetY()
      Returns:
      vertical offset for shadow in pixels
    • setShadowOffsetY

      void setShadowOffsetY(Integer shadowOffsetY)
      Sets vertical offset for shadow or replaces an existing one.
      Parameters:
      shadowOffsetY - offset to set in pixels
    • withShadowOffsetY

      default T withShadowOffsetY(Integer shadowOffsetY)
      Parameters:
      shadowOffsetY - offset to set in pixels
      Returns:
      this
      See Also: