Class SvgStop
java.lang.Object
com.independentsoft.office.odf.styles.SvgStop
Represents the svg stop.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.getColor()Gets the svg top color.Gets the svg top offset.doubleGets the svg top opacity.voidSets the svg top color.voidSets the svg top offset.voidsetOpacity(double opacity)Sets the svg top opacity.toString()Converts the value of the current SvgStop object to its equivalent string representation.
-
Constructor Details
-
SvgStop
public SvgStop()Initializes a new instance of the SvgStop class.
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current SvgStop object to its equivalent string representation. -
getOffset
Gets the svg top offset.- Returns:
- the offset
-
setOffset
Sets the svg top offset.- Parameters:
offset- the new offset
-
getColor
Gets the svg top color.- Returns:
- the color
-
setColor
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
-