Class GraphicStyle


public class GraphicStyle extends BaseStyle
Represents graphic styles.
  • Constructor Details

    • GraphicStyle

      public GraphicStyle()
      Initializes a new instance of the GraphicStyle class.
    • GraphicStyle

      public GraphicStyle(String name)
      Initializes a new instance of the GraphicStyle class.
      Parameters:
      name - the name
  • Method Details

    • clone

      public GraphicStyle clone()
      Creates a new object that is a deep copy of the current instance.
      Specified by:
      clone in class BaseStyle
      Returns:
      A new object that is a copy of this instance.
    • toString

      public String toString()
      Converts the value of the current GraphicStyle object to its equivalent string representation.
      Overrides:
      toString in class BaseStyle
      Returns:
      the string
    • getTextProperties

      public TextProperties getTextProperties()
      Specifies formatting properties for text.
      Returns:
      the text properties
    • getParagraphProperties

      public ParagraphProperties getParagraphProperties()
      Specifies formatting properties for paragraph.
      Returns:
      the paragraph properties
    • getGraphicProperties

      public GraphicProperties getGraphicProperties()
      Specifies formatting properties for graphic.
      Returns:
      the graphic properties