**Inheritance:**
java.lang.Object
```
public class OdGraphicStyle
```

The open document graphic style.
## Constructors

| Constructor | Description |
| --- | --- |
| [OdGraphicStyle()](#OdGraphicStyle--) |  |
## Methods

| Method | Description |
| --- | --- |
| [getBrush()](#getBrush--) | Gets the brush. |
| [setBrush(OdBrush value)](#setBrush-com.aspose.imaging.fileformats.opendocument.objects.brush.OdBrush-) | The brush. |
| [getPen()](#getPen--) | Gets the pen. |
| [getFont()](#getFont--) | Gets the font. |
| [getTextColor()](#getTextColor--) | Gets or sets the color of the text. |
| [setTextColor(int value)](#setTextColor-int-) | Gets or sets the color of the text. |
| [getTextAlign()](#getTextAlign--) | Gets the text align. |
| [setTextAlign(int value)](#setTextAlign-int-) | Sets the text align. |
| [getLineHeight()](#getLineHeight--) | Gets or sets the height of the line. |
| [setLineHeight(int value)](#setLineHeight-int-) | Gets or sets the height of the line. |
| [getTransformInfo()](#getTransformInfo--) | Gets the transform information. |
| [getStartMarker()](#getStartMarker--) | Gets or sets the start marker. |
| [setStartMarker(OdMarker value)](#setStartMarker-com.aspose.imaging.fileformats.opendocument.objects.graphic.OdMarker-) | Gets or sets the start marker. |
| [getEndMarker()](#getEndMarker--) | Gets or sets the end marker. |
| [setEndMarker(OdMarker value)](#setEndMarker-com.aspose.imaging.fileformats.opendocument.objects.graphic.OdMarker-) | Gets or sets the end marker. |
| [getStartMarkerWidth()](#getStartMarkerWidth--) | Gets or sets the start width of the marker. |
| [setStartMarkerWidth(float value)](#setStartMarkerWidth-float-) | Gets or sets the start width of the marker. |
| [getEndMarkerWidth()](#getEndMarkerWidth--) | Gets or sets the end width of the marker. |
| [setEndMarkerWidth(float value)](#setEndMarkerWidth-float-) | Gets or sets the end width of the marker. |
| [getOpacity()](#getOpacity--) | Gets or sets the opacity. |
| [setOpacity(int value)](#setOpacity-int-) | Gets or sets the opacity. |
| [getSpaceBefore()](#getSpaceBefore--) | Gets or sets the space before. |
| [setSpaceBefore(float value)](#setSpaceBefore-float-) | Gets or sets the space before. |
| [getPaddingTop()](#getPaddingTop--) | Gets or sets the padding top. |
| [setPaddingTop(float value)](#setPaddingTop-float-) | Gets or sets the padding top. |
| [getPaddingLeft()](#getPaddingLeft--) | Gets or sets the padding left. |
| [setPaddingLeft(float value)](#setPaddingLeft-float-) | Gets or sets the padding left. |
| [getPaddingRight()](#getPaddingRight--) | Gets or sets the padding right. |
| [setPaddingRight(float value)](#setPaddingRight-float-) | Gets or sets the padding right. |
| [getPaddingBottom()](#getPaddingBottom--) | Gets or sets the padding bottom. |
| [setPaddingBottom(float value)](#setPaddingBottom-float-) | Gets or sets the padding bottom. |
| [getMarginBottom()](#getMarginBottom--) | Gets or sets the margin bottom. |
| [setMarginBottom(float value)](#setMarginBottom-float-) | Gets or sets the margin bottom. |
| [getMarginTop()](#getMarginTop--) | Gets or sets the margin top. |
| [setMarginTop(float value)](#setMarginTop-float-) | Gets or sets the margin top. |
| [getStartGuide()](#getStartGuide--) | Gets or sets the start guide. |
| [setStartGuide(float value)](#setStartGuide-float-) | Gets or sets the start guide. |
| [getEndGuide()](#getEndGuide--) | Gets or sets the end guide. |
| [setEndGuide(float value)](#setEndGuide-float-) | Gets or sets the end guide. |
| [getMeasureLineDistance()](#getMeasureLineDistance--) | Gets or sets the measure line distance. |
| [setMeasureLineDistance(float value)](#setMeasureLineDistance-float-) | Gets or sets the measure line distance. |
| [getStylePosition()](#getStylePosition--) | Gets or sets the style position. |
| [setStylePosition(float value)](#setStylePosition-float-) | Gets or sets the style position. |
| [copy()](#copy--) | Copies this instance. |
### OdGraphicStyle() {#OdGraphicStyle--}
```
public OdGraphicStyle()
```


### getBrush() {#getBrush--}
```
public final OdBrush getBrush()
```


Gets the brush.

Value: The brush.

**Returns:**
[OdBrush](../../com.aspose.imaging.fileformats.opendocument.objects.brush/odbrush) - the brush.
### setBrush(OdBrush value) {#setBrush-com.aspose.imaging.fileformats.opendocument.objects.brush.OdBrush-}
```
public final void setBrush(OdBrush value)
```


The brush.

Value: The brush.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [OdBrush](../../com.aspose.imaging.fileformats.opendocument.objects.brush/odbrush) | the brush. |

### getPen() {#getPen--}
```
public OdPen getPen()
```


Gets the pen.

**Returns:**
[OdPen](../../com.aspose.imaging.fileformats.opendocument.objects.pen/odpen) - The pen.
### getFont() {#getFont--}
```
public OdFont getFont()
```


Gets the font.

**Returns:**
[OdFont](../../com.aspose.imaging.fileformats.opendocument.objects.font/odfont) - The font.
### getTextColor() {#getTextColor--}
```
public int getTextColor()
```


Gets or sets the color of the text.

**Returns:**
int - The color of the text.
### setTextColor(int value) {#setTextColor-int-}
```
public void setTextColor(int value)
```


Gets or sets the color of the text.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | The color of the text. |

### getTextAlign() {#getTextAlign--}
```
public final int getTextAlign()
```


Gets the text align.

**Returns:**
int - the text align.
### setTextAlign(int value) {#setTextAlign-int-}
```
public final void setTextAlign(int value)
```


Sets the text align.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the text align. |

### getLineHeight() {#getLineHeight--}
```
public int getLineHeight()
```


Gets or sets the height of the line.

**Returns:**
int - The height of the line.
### setLineHeight(int value) {#setLineHeight-int-}
```
public void setLineHeight(int value)
```


Gets or sets the height of the line.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | The height of the line. |

### getTransformInfo() {#getTransformInfo--}
```
public OdTransformInfo getTransformInfo()
```


Gets the transform information.

**Returns:**
[OdTransformInfo](../../com.aspose.imaging.fileformats.opendocument.objects/odtransforminfo) - The transform information.
### getStartMarker() {#getStartMarker--}
```
public OdMarker getStartMarker()
```


Gets or sets the start marker.

**Returns:**
[OdMarker](../../com.aspose.imaging.fileformats.opendocument.objects.graphic/odmarker) - The start marker.
### setStartMarker(OdMarker value) {#setStartMarker-com.aspose.imaging.fileformats.opendocument.objects.graphic.OdMarker-}
```
public void setStartMarker(OdMarker value)
```


Gets or sets the start marker.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [OdMarker](../../com.aspose.imaging.fileformats.opendocument.objects.graphic/odmarker) | The start marker. |

### getEndMarker() {#getEndMarker--}
```
public OdMarker getEndMarker()
```


Gets or sets the end marker.

**Returns:**
[OdMarker](../../com.aspose.imaging.fileformats.opendocument.objects.graphic/odmarker) - The end marker.
### setEndMarker(OdMarker value) {#setEndMarker-com.aspose.imaging.fileformats.opendocument.objects.graphic.OdMarker-}
```
public void setEndMarker(OdMarker value)
```


Gets or sets the end marker.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [OdMarker](../../com.aspose.imaging.fileformats.opendocument.objects.graphic/odmarker) | The end marker. |

### getStartMarkerWidth() {#getStartMarkerWidth--}
```
public float getStartMarkerWidth()
```


Gets or sets the start width of the marker.

**Returns:**
float - The start width of the marker.
### setStartMarkerWidth(float value) {#setStartMarkerWidth-float-}
```
public void setStartMarkerWidth(float value)
```


Gets or sets the start width of the marker.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | float | The start width of the marker. |

### getEndMarkerWidth() {#getEndMarkerWidth--}
```
public float getEndMarkerWidth()
```


Gets or sets the end width of the marker.

**Returns:**
float - The end width of the marker.
### setEndMarkerWidth(float value) {#setEndMarkerWidth-float-}
```
public void setEndMarkerWidth(float value)
```


Gets or sets the end width of the marker.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | float | The end width of the marker. |

### getOpacity() {#getOpacity--}
```
public int getOpacity()
```


Gets or sets the opacity.

**Returns:**
int - The opacity.
### setOpacity(int value) {#setOpacity-int-}
```
public void setOpacity(int value)
```


Gets or sets the opacity.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | The opacity. |

### getSpaceBefore() {#getSpaceBefore--}
```
public float getSpaceBefore()
```


Gets or sets the space before.

**Returns:**
float - The space before.
### setSpaceBefore(float value) {#setSpaceBefore-float-}
```
public void setSpaceBefore(float value)
```


Gets or sets the space before.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | float | The space before. |

### getPaddingTop() {#getPaddingTop--}
```
public float getPaddingTop()
```


Gets or sets the padding top.

**Returns:**
float - The padding top.
### setPaddingTop(float value) {#setPaddingTop-float-}
```
public void setPaddingTop(float value)
```


Gets or sets the padding top.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | float | The padding top. |

### getPaddingLeft() {#getPaddingLeft--}
```
public float getPaddingLeft()
```


Gets or sets the padding left.

**Returns:**
float - The padding left.
### setPaddingLeft(float value) {#setPaddingLeft-float-}
```
public void setPaddingLeft(float value)
```


Gets or sets the padding left.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | float | The padding left. |

### getPaddingRight() {#getPaddingRight--}
```
public float getPaddingRight()
```


Gets or sets the padding right.

**Returns:**
float - The padding right.
### setPaddingRight(float value) {#setPaddingRight-float-}
```
public void setPaddingRight(float value)
```


Gets or sets the padding right.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | float | The padding right. |

### getPaddingBottom() {#getPaddingBottom--}
```
public float getPaddingBottom()
```


Gets or sets the padding bottom.

**Returns:**
float - The padding bottom.
### setPaddingBottom(float value) {#setPaddingBottom-float-}
```
public void setPaddingBottom(float value)
```


Gets or sets the padding bottom.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | float | The padding bottom. |

### getMarginBottom() {#getMarginBottom--}
```
public float getMarginBottom()
```


Gets or sets the margin bottom.

**Returns:**
float - The margin bottom.
### setMarginBottom(float value) {#setMarginBottom-float-}
```
public void setMarginBottom(float value)
```


Gets or sets the margin bottom.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | float | The margin bottom. |

### getMarginTop() {#getMarginTop--}
```
public float getMarginTop()
```


Gets or sets the margin top.

**Returns:**
float - The margin top.
### setMarginTop(float value) {#setMarginTop-float-}
```
public void setMarginTop(float value)
```


Gets or sets the margin top.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | float | The margin top. |

### getStartGuide() {#getStartGuide--}
```
public float getStartGuide()
```


Gets or sets the start guide.

**Returns:**
float - The start guide.
### setStartGuide(float value) {#setStartGuide-float-}
```
public void setStartGuide(float value)
```


Gets or sets the start guide.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | float | The start guide. |

### getEndGuide() {#getEndGuide--}
```
public float getEndGuide()
```


Gets or sets the end guide.

**Returns:**
float - The end guide.
### setEndGuide(float value) {#setEndGuide-float-}
```
public void setEndGuide(float value)
```


Gets or sets the end guide.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | float | The end guide. |

### getMeasureLineDistance() {#getMeasureLineDistance--}
```
public float getMeasureLineDistance()
```


Gets or sets the measure line distance.

**Returns:**
float - The measure line distance.
### setMeasureLineDistance(float value) {#setMeasureLineDistance-float-}
```
public void setMeasureLineDistance(float value)
```


Gets or sets the measure line distance.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | float | The measure line distance. |

### getStylePosition() {#getStylePosition--}
```
public float getStylePosition()
```


Gets or sets the style position.

**Returns:**
float - The style position.
### setStylePosition(float value) {#setStylePosition-float-}
```
public void setStylePosition(float value)
```


Gets or sets the style position.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | float | The style position. |

### copy() {#copy--}
```
public OdGraphicStyle copy()
```


Copies this instance.

**Returns:**
[OdGraphicStyle](../../com.aspose.imaging.fileformats.opendocument.objects/odgraphicstyle) - Gets the copy of this instance.
