com.groupdocs.watermark.legacy

Interfaces

Classes

Exceptions

com.groupdocs.watermark.legacy

Class OfficeLineFormat


  • Deprecated.

    @Deprecated
    public class OfficeLineFormat
    extends Object

    Represents a shape line format.

    • Constructor Summary

      Constructors 
      Constructor and Description
      OfficeLineFormat()
      Deprecated. 
      Initializes a new instance of the OfficeLineFormat class.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      Color getColor()
      Deprecated. 
      Gets the color of the line.
      int getDashStyle()
      Deprecated. 
      Gets the dot and dash pattern for a line.
      boolean getEnabled()
      Deprecated. 
      Gets a value indicating whether a shape will be stroked.
      int getLineStyle()
      Deprecated. 
      Gets the line style.
      double getOpacity()
      Deprecated. 
      Gets the line opacity.
      double getWeight()
      Deprecated. 
      Gets the brush thickness that strokes the path of a shape.
      void setColor(Color value)
      Deprecated. 
      Sets the color of the line.
      void setDashStyle(int value)
      Deprecated. 
      Sets the dot and dash pattern for a line.
      void setEnabled(boolean value)
      Deprecated. 
      Sets a value indicating whether a shape will be stroked.
      void setLineStyle(int value)
      Deprecated. 
      Sets the line style.
      void setOpacity(double value)
      Deprecated. 
      Sets the line opacity.
      void setWeight(double value)
      Deprecated. 
      Sets the brush thickness that strokes the path of a shape.
    • Constructor Detail

      • OfficeLineFormat

        public OfficeLineFormat()
        Deprecated. 

        Initializes a new instance of the OfficeLineFormat class.

    • Method Detail

      • getWeight

        public final double getWeight()
        Deprecated. 

        Gets the brush thickness that strokes the path of a shape.

        Returns:
        The line thickness in points. The default value is 0.75.
      • setWeight

        public final void setWeight(double value)
        Deprecated. 

        Sets the brush thickness that strokes the path of a shape.

        Parameters:
        value - The line thickness in points. The default value is 0.75.
      • getColor

        public final Color getColor()
        Deprecated. 

        Gets the color of the line.

        Returns:
        The default value is Color.Black.
      • setColor

        public final void setColor(Color value)
        Deprecated. 

        Sets the color of the line.

        Parameters:
        value - The default value is Color.Black.
      • getOpacity

        public final double getOpacity()
        Deprecated. 

        Gets the line opacity.

        Returns:
        The value should be between 0 and 1. Default value is 1.
      • setOpacity

        public final void setOpacity(double value)
        Deprecated. 

        Sets the line opacity.

        Parameters:
        value - The value should be between 0 and 1. Default value is 1.
      • getEnabled

        public final boolean getEnabled()
        Deprecated. 

        Gets a value indicating whether a shape will be stroked.

        Returns:
        The default value is false.
      • setEnabled

        public final void setEnabled(boolean value)
        Deprecated. 

        Sets a value indicating whether a shape will be stroked.

        Parameters:
        value - The default value is false.
      • getDashStyle

        public final int getDashStyle()
        Deprecated. 

        Gets the dot and dash pattern for a line.

        Returns:
        The default value is OfficeDashStyle.Solid.
      • setDashStyle

        public final void setDashStyle(int value)
        Deprecated. 

        Sets the dot and dash pattern for a line.

        Parameters:
        value - The default value is OfficeDashStyle.Solid.
      • getLineStyle

        public final int getLineStyle()
        Deprecated. 

        Gets the line style.

        Returns:
        The default value is OfficeLineStyle.Single.
      • setLineStyle

        public final void setLineStyle(int value)
        Deprecated. 

        Sets the line style.

        Parameters:
        value - The default value is OfficeLineStyle.Single.