OdGraphicStyle
Inheritance: java.lang.Object
public class OdGraphicStyle
El estilo gráfico del documento abierto.
Constructores
| Constructor | Descripción |
|---|---|
| OdGraphicStyle() |
Métodos
| Método | Descripción |
|---|---|
| getBrush() | Obtiene el pincel. |
| setBrush(OdBrush value) | El pincel. |
| getPen() | Obtiene la pluma. |
| getFont() | Obtiene la fuente. |
| getTextColor() | Obtiene o establece el color del texto. |
| setTextColor(int value) | Obtiene o establece el color del texto. |
| getTextAlign() | Obtiene la alineación del texto. |
| setTextAlign(int value) | Establece la alineación del texto. |
| getLineHeight() | Obtiene o establece la altura de la línea. |
| setLineHeight(int value) | Obtiene o establece la altura de la línea. |
| getTransformInfo() | Obtiene la información de transformación. |
| getStartMarker() | Obtiene o establece el marcador de inicio. |
| setStartMarker(OdMarker value) | Obtiene o establece el marcador de inicio. |
| getEndMarker() | Obtiene o establece el marcador de fin. |
| setEndMarker(OdMarker value) | Obtiene o establece el marcador de fin. |
| getStartMarkerWidth() | Obtiene o establece el ancho inicial del marcador. |
| setStartMarkerWidth(float value) | Obtiene o establece el ancho inicial del marcador. |
| getEndMarkerWidth() | Obtiene o establece el ancho final del marcador. |
| setEndMarkerWidth(float value) | Obtiene o establece el ancho final del marcador. |
| getOpacity() | Obtiene o establece la opacidad. |
| setOpacity(int value) | Obtiene o establece la opacidad. |
| getSpaceBefore() | Obtiene o establece el espacio anterior. |
| setSpaceBefore(float value) | Obtiene o establece el espacio anterior. |
| getPaddingTop() | Obtiene o establece el relleno superior. |
| setPaddingTop(float value) | Obtiene o establece el relleno superior. |
| getPaddingLeft() | Obtiene o establece el relleno izquierdo. |
| setPaddingLeft(float value) | Obtiene o establece el relleno izquierdo. |
| getPaddingRight() | Obtiene o establece el relleno derecho. |
| setPaddingRight(float value) | Obtiene o establece el relleno derecho. |
| getPaddingBottom() | Obtiene o establece el relleno inferior. |
| setPaddingBottom(float value) | Obtiene o establece el relleno inferior. |
| getMarginBottom() | Obtiene o establece el margen inferior. |
| setMarginBottom(float value) | Obtiene o establece el margen inferior. |
| getMarginTop() | Obtiene o establece el margen superior. |
| setMarginTop(float value) | Obtiene o establece el margen superior. |
| getStartGuide() | Obtiene o establece la guía de inicio. |
| setStartGuide(float value) | Obtiene o establece la guía de inicio. |
| getEndGuide() | Obtiene o establece la guía de fin. |
| setEndGuide(float value) | Obtiene o establece la guía de fin. |
| getMeasureLineDistance() | Obtiene o establece la distancia de la línea de medida. |
| setMeasureLineDistance(float value) | Obtiene o establece la distancia de la línea de medida. |
| getStylePosition() | Obtiene o establece la posición del estilo. |
| setStylePosition(float value) | Obtiene o establece la posición del estilo. |
| copy() | Copia esta instancia. |
OdGraphicStyle()
public OdGraphicStyle()
getBrush()
public final OdBrush getBrush()
Obtiene el pincel.
Valor: El pincel.
Returns: OdBrush - the brush.
setBrush(OdBrush value)
public final void setBrush(OdBrush value)
El pincel.
Valor: El pincel.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| value | OdBrush | el pincel. |
getPen()
public OdPen getPen()
Obtiene la pluma.
Returns: OdPen - The pen.
getFont()
public OdFont getFont()
Obtiene la fuente.
Returns: OdFont - The font.
getTextColor()
public int getTextColor()
Obtiene o establece el color del texto.
Returns: int - El color del texto.
setTextColor(int value)
public void setTextColor(int value)
Obtiene o establece el color del texto.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| valor | int | El color del texto. |
getTextAlign()
public final int getTextAlign()
Obtiene la alineación del texto.
Returns: int - la alineación del texto.
setTextAlign(int value)
public final void setTextAlign(int value)
Establece la alineación del texto.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| valor | int | la alineación del texto. |
getLineHeight()
public int getLineHeight()
Obtiene o establece la altura de la línea.
Returns: int - La altura de la línea.
setLineHeight(int value)
public void setLineHeight(int value)
Obtiene o establece la altura de la línea.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| valor | int | La altura de la línea. |
getTransformInfo()
public OdTransformInfo getTransformInfo()
Obtiene la información de transformación.
Returns: OdTransformInfo - The transform information.
getStartMarker()
public OdMarker getStartMarker()
Obtiene o establece el marcador de inicio.
Returns: OdMarker - The start marker.
setStartMarker(OdMarker value)
public void setStartMarker(OdMarker value)
Obtiene o establece el marcador de inicio.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| value | OdMarker | El marcador de inicio. |
getEndMarker()
public OdMarker getEndMarker()
Obtiene o establece el marcador de fin.
Returns: OdMarker - The end marker.
setEndMarker(OdMarker value)
public void setEndMarker(OdMarker value)
Obtiene o establece el marcador de fin.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| value | OdMarker | El marcador de fin. |
getStartMarkerWidth()
public float getStartMarkerWidth()
Obtiene o establece el ancho inicial del marcador.
Returns: float - El ancho inicial del marcador.
setStartMarkerWidth(float value)
public void setStartMarkerWidth(float value)
Obtiene o establece el ancho inicial del marcador.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| valor | float | El ancho inicial del marcador. |
getEndMarkerWidth()
public float getEndMarkerWidth()
Obtiene o establece el ancho final del marcador.
Returns: float - El ancho final del marcador.
setEndMarkerWidth(float value)
public void setEndMarkerWidth(float value)
Obtiene o establece el ancho final del marcador.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| valor | float | El ancho final del marcador. |
getOpacity()
public int getOpacity()
Obtiene o establece la opacidad.
Returns: int - La opacidad.
setOpacity(int value)
public void setOpacity(int value)
Obtiene o establece la opacidad.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| valor | int | La opacidad. |
getSpaceBefore()
public float getSpaceBefore()
Obtiene o establece el espacio anterior.
Returns: float - El espacio anterior.
setSpaceBefore(float value)
public void setSpaceBefore(float value)
Obtiene o establece el espacio anterior.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| valor | float | El espacio anterior. |
getPaddingTop()
public float getPaddingTop()
Obtiene o establece el relleno superior.
Returns: float - El relleno superior.
setPaddingTop(float value)
public void setPaddingTop(float value)
Obtiene o establece el relleno superior.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| valor | float | El relleno superior. |
getPaddingLeft()
public float getPaddingLeft()
Obtiene o establece el relleno izquierdo.
Returns: float - El relleno izquierdo.
setPaddingLeft(float value)
public void setPaddingLeft(float value)
Obtiene o establece el relleno izquierdo.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| valor | float | El relleno izquierdo. |
getPaddingRight()
public float getPaddingRight()
Obtiene o establece el relleno derecho.
Returns: float - El relleno derecho.
setPaddingRight(float value)
public void setPaddingRight(float value)
Obtiene o establece el relleno derecho.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| valor | float | El relleno derecho. |
getPaddingBottom()
public float getPaddingBottom()
Obtiene o establece el relleno inferior.
Returns: float - El relleno inferior.
setPaddingBottom(float value)
public void setPaddingBottom(float value)
Obtiene o establece el relleno inferior.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| valor | float | El relleno inferior. |
getMarginBottom()
public float getMarginBottom()
Obtiene o establece el margen inferior.
Returns: float - El margen inferior.
setMarginBottom(float value)
public void setMarginBottom(float value)
Obtiene o establece el margen inferior.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| valor | float | El margen inferior. |
getMarginTop()
public float getMarginTop()
Obtiene o establece el margen superior.
Returns: float - El margen superior.
setMarginTop(float value)
public void setMarginTop(float value)
Obtiene o establece el margen superior.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| valor | float | El margen superior. |
getStartGuide()
public float getStartGuide()
Obtiene o establece la guía de inicio.
Returns: float - La guía inicial.
setStartGuide(float value)
public void setStartGuide(float value)
Obtiene o establece la guía de inicio.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| valor | float | La guía inicial. |
getEndGuide()
public float getEndGuide()
Obtiene o establece la guía de fin.
Returns: float - La guía final.
setEndGuide(float value)
public void setEndGuide(float value)
Obtiene o establece la guía de fin.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| valor | float | La guía final. |
getMeasureLineDistance()
public float getMeasureLineDistance()
Obtiene o establece la distancia de la línea de medida.
Returns: float - La distancia de la línea de medida.
setMeasureLineDistance(float value)
public void setMeasureLineDistance(float value)
Obtiene o establece la distancia de la línea de medida.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| valor | float | La distancia de la línea de medida. |
getStylePosition()
public float getStylePosition()
Obtiene o establece la posición del estilo.
Returns: float - La posición del estilo.
setStylePosition(float value)
public void setStylePosition(float value)
Obtiene o establece la posición del estilo.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| valor | float | La posición del estilo. |
copy()
public OdGraphicStyle copy()
Copia esta instancia.
Returns: OdGraphicStyle - Gets the copy of this instance.