Class SvgStop

java.lang.Object
com.independentsoft.office.odf.styles.SvgStop

public class SvgStop extends Object
Represents the svg stop.
  • Constructor Details

    • SvgStop

      public SvgStop()
      Initializes a new instance of the SvgStop class.
  • Method Details

    • clone

      public SvgStop clone()
      Creates a new object that is a deep copy of the current instance.
      Overrides:
      clone in class Object
      Returns:
      A new object that is a copy of this instance.
    • toString

      public String toString()
      Converts the value of the current SvgStop object to its equivalent string representation.
      Overrides:
      toString in class Object
      Returns:
      the string
    • getOffset

      public Size getOffset()
      Gets the svg top offset.
      Returns:
      the offset
    • setOffset

      public void setOffset(Size offset)
      Sets the svg top offset.
      Parameters:
      offset - the new offset
    • getColor

      public String getColor()
      Gets the svg top color.
      Returns:
      the color
    • setColor

      public void setColor(String color)
      Sets the svg top color.
      Parameters:
      color - the new color
    • getOpacity

      public double getOpacity()
      Gets the svg top opacity.
      Returns:
      the opacity
    • setOpacity

      public void setOpacity(double opacity)
      Sets the svg top opacity.
      Parameters:
      opacity - the new opacity