Packages

 

com.aspose.imaging.fileformats.opendocument.objects

Class OdGraphicStyle

  • java.lang.Object
    • com.aspose.imaging.fileformats.opendocument.objects.OdGraphicStyle


  • public class OdGraphicStyle
    extends Object

    The open document graphic style.

    • Constructor Detail

      • OdGraphicStyle

        public OdGraphicStyle()
    • Method Detail

      • getBrush

        public final OdBrush getBrush()

        Gets the brush.

        Value: The brush.
        Returns:
        the brush.
      • setBrush

        public final void setBrush(OdBrush value)

        The brush.

        Value: The brush.
        Parameters:
        value - the brush.
      • getPen

        public OdPen getPen()

        Gets the pen.

        Returns:
        The pen.
      • getFont

        public OdFont getFont()

        Gets the font.

        Returns:
        The font.
      • getTextColor

        public int getTextColor()

        Gets or sets the color of the text.

        Returns:
        The color of the text.
      • setTextColor

        public void setTextColor(int value)

        Gets or sets the color of the text.

        Parameters:
        value - The color of the text.
      • getTextAlign

        public int getTextAlign()

        Gets or sets the text align.

        Returns:
        The text align.
      • setTextAlign

        public void setTextAlign(int value)

        Gets or sets the text align.

        Parameters:
        value - The text align.
      • getLineHeight

        public int getLineHeight()

        Gets or sets the height of the line.

        Returns:
        The height of the line.
      • setLineHeight

        public void setLineHeight(int value)

        Gets or sets the height of the line.

        Parameters:
        value - The height of the line.
      • getTransformInfo

        public OdTransformInfo getTransformInfo()

        Gets the transform information.

        Returns:
        The transform information.
      • getStartMarker

        public OdMarker getStartMarker()

        Gets or sets the start marker.

        Returns:
        The start marker.
      • setStartMarker

        public void setStartMarker(OdMarker value)

        Gets or sets the start marker.

        Parameters:
        value - The start marker.
      • getEndMarker

        public OdMarker getEndMarker()

        Gets or sets the end marker.

        Returns:
        The end marker.
      • setEndMarker

        public void setEndMarker(OdMarker value)

        Gets or sets the end marker.

        Parameters:
        value - The end marker.
      • getStartMarkerWidth

        public float getStartMarkerWidth()

        Gets or sets the start width of the marker.

        Returns:
        The start width of the marker.
      • setStartMarkerWidth

        public void setStartMarkerWidth(float value)

        Gets or sets the start width of the marker.

        Parameters:
        value - The start width of the marker.
      • getEndMarkerWidth

        public float getEndMarkerWidth()

        Gets or sets the end width of the marker.

        Returns:
        The end width of the marker.
      • setEndMarkerWidth

        public void setEndMarkerWidth(float value)

        Gets or sets the end width of the marker.

        Parameters:
        value - The end width of the marker.
      • getOpacity

        public int getOpacity()

        Gets or sets the opacity.

        Returns:
        The opacity.
      • setOpacity

        public void setOpacity(int value)

        Gets or sets the opacity.

        Parameters:
        value - The opacity.
      • getSpaceBefore

        public float getSpaceBefore()

        Gets or sets the space before.

        Returns:
        The space before.
      • setSpaceBefore

        public void setSpaceBefore(float value)

        Gets or sets the space before.

        Parameters:
        value - The space before.
      • getPaddingTop

        public float getPaddingTop()

        Gets or sets the padding top.

        Returns:
        The padding top.
      • setPaddingTop

        public void setPaddingTop(float value)

        Gets or sets the padding top.

        Parameters:
        value - The padding top.
      • getPaddingLeft

        public float getPaddingLeft()

        Gets or sets the padding left.

        Returns:
        The padding left.
      • setPaddingLeft

        public void setPaddingLeft(float value)

        Gets or sets the padding left.

        Parameters:
        value - The padding left.
      • getPaddingRight

        public float getPaddingRight()

        Gets or sets the padding right.

        Returns:
        The padding right.
      • setPaddingRight

        public void setPaddingRight(float value)

        Gets or sets the padding right.

        Parameters:
        value - The padding right.
      • getPaddingBottom

        public float getPaddingBottom()

        Gets or sets the padding bottom.

        Returns:
        The padding bottom.
      • setPaddingBottom

        public void setPaddingBottom(float value)

        Gets or sets the padding bottom.

        Parameters:
        value - The padding bottom.
      • getMarginBottom

        public float getMarginBottom()

        Gets or sets the margin bottom.

        Returns:
        The margin bottom.
      • setMarginBottom

        public void setMarginBottom(float value)

        Gets or sets the margin bottom.

        Parameters:
        value - The margin bottom.
      • getMarginTop

        public float getMarginTop()

        Gets or sets the margin top.

        Returns:
        The margin top.
      • setMarginTop

        public void setMarginTop(float value)

        Gets or sets the margin top.

        Parameters:
        value - The margin top.
      • getStartGuide

        public float getStartGuide()

        Gets or sets the start guide.

        Returns:
        The start guide.
      • setStartGuide

        public void setStartGuide(float value)

        Gets or sets the start guide.

        Parameters:
        value - The start guide.
      • getEndGuide

        public float getEndGuide()

        Gets or sets the end guide.

        Returns:
        The end guide.
      • setEndGuide

        public void setEndGuide(float value)

        Gets or sets the end guide.

        Parameters:
        value - The end guide.
      • getMeasureLineDistance

        public float getMeasureLineDistance()

        Gets or sets the measure line distance.

        Returns:
        The measure line distance.
      • setMeasureLineDistance

        public void setMeasureLineDistance(float value)

        Gets or sets the measure line distance.

        Parameters:
        value - The measure line distance.
      • getStylePosition

        public float getStylePosition()

        Gets or sets the style position.

        Returns:
        The style position.
      • setStylePosition

        public void setStylePosition(float value)

        Gets or sets the style position.

        Parameters:
        value - The style position.
      • copy

        public OdGraphicStyle copy()

        Copies this instance.

        Returns:
        Get the copy of this instance