CdrStyle

Inheritance: java.lang.Object, com.aspose.imaging.DisposableObject, com.aspose.imaging.fileformats.cdr.objects.CdrObject, com.aspose.imaging.fileformats.cdr.objects.CdrDictionaryItem

public class CdrStyle extends CdrDictionaryItem

The cdr style

Constructors

ConstructorDescription
CdrStyle()

Methods

MethodDescription
getFontName()Gets the name of the font.
setFontName(String value)Sets the name of the font.
getCharset()Gets the character set.
setCharset(short value)Sets the character set.
getFontSize()Gets the size of the font.
setFontSize(double value)Sets the size of the font.
getFontWeight()Gets the font weight.
setFontWeight(int value)Sets the font weight.
getFill()Gets the fill.
setFill(CdrFill value)Sets the fill.
getOutLine()Gets the outline.
setOutLine(CdrOutline value)Sets the outline.
getAlign()Gets the alignment.
setAlign(int value)Sets the alignment.
getRightIndent()Gets the right indent.
setRightIndent(double value)Sets the right indent.
getFirstIndent()Gets the first indent.
setFirstIndent(double value)Sets the first indent.
getLeftIndent()Gets the left indent.
setLeftIndent(double value)Sets the left indent.
getParentId()Gets the parent identifier.
setParentId(int value)Sets the parent identifier.
copy()Copies this instance.

CdrStyle()

public CdrStyle()

getFontName()

public final String getFontName()

Gets the name of the font.

Returns: java.lang.String - the name of the font.

setFontName(String value)

public final void setFontName(String value)

Sets the name of the font.

Parameters:

ParameterTypeDescription
valuejava.lang.Stringthe name of the font.

getCharset()

public final short getCharset()

Gets the character set.

Returns: short - the character set.

setCharset(short value)

public final void setCharset(short value)

Sets the character set.

Parameters:

ParameterTypeDescription
valueshortthe character set.

getFontSize()

public final double getFontSize()

Gets the size of the font.

Returns: double - the size of the font.

setFontSize(double value)

public final void setFontSize(double value)

Sets the size of the font.

Parameters:

ParameterTypeDescription
valuedoublethe size of the font.

getFontWeight()

public final int getFontWeight()

Gets the font weight.

Returns: int - the font weight.

setFontWeight(int value)

public final void setFontWeight(int value)

Sets the font weight.

Parameters:

ParameterTypeDescription
valueintthe font weight.

getFill()

public final CdrFill getFill()

Gets the fill.

Returns: CdrFill - the fill.

setFill(CdrFill value)

public final void setFill(CdrFill value)

Sets the fill.

Parameters:

ParameterTypeDescription
valueCdrFillthe fill.

getOutLine()

public final CdrOutline getOutLine()

Gets the outline.

Returns: CdrOutline - the outline.

setOutLine(CdrOutline value)

public final void setOutLine(CdrOutline value)

Sets the outline.

Parameters:

ParameterTypeDescription
valueCdrOutlinethe outline.

getAlign()

public final int getAlign()

Gets the alignment.

Returns: int - The alignment.

setAlign(int value)

public final void setAlign(int value)

Sets the alignment.

Parameters:

ParameterTypeDescription
valueintThe alignment.

getRightIndent()

public final double getRightIndent()

Gets the right indent.

Returns: double - the right indent.

setRightIndent(double value)

public final void setRightIndent(double value)

Sets the right indent.

Parameters:

ParameterTypeDescription
valuedoublethe right indent.

getFirstIndent()

public final double getFirstIndent()

Gets the first indent.

Returns: double - the first indent.

setFirstIndent(double value)

public final void setFirstIndent(double value)

Sets the first indent.

Parameters:

ParameterTypeDescription
valuedoublethe first indent.

getLeftIndent()

public final double getLeftIndent()

Gets the left indent.

Returns: double - the left indent.

setLeftIndent(double value)

public final void setLeftIndent(double value)

Sets the left indent.

Parameters:

ParameterTypeDescription
valuedoublethe left indent.

getParentId()

public final int getParentId()

Gets the parent identifier.

Returns: int - the parent identifier.

setParentId(int value)

public final void setParentId(int value)

Sets the parent identifier.

Parameters:

ParameterTypeDescription
valueintthe parent identifier.

copy()

public final CdrStyle copy()

Copies this instance.

Returns: CdrStyle - The current style copy