CdrFill

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

public class CdrFill extends CdrDictionaryItem

The cdr fill

Constructors

ConstructorDescription
CdrFill()

Methods

MethodDescription
getFillType()Gets the type of the fill.
setFillType(short value)Sets the type of the fill.
getColor1()Gets the color1.
setColor1(CdrColor value)Sets the color1.
getColor2()Gets the color2.
setColor2(CdrColor value)Sets the color2.
getGradient()Gets the gradient.
setGradient(CdrGradient value)Sets the gradient.
getImageFill()Gets the image fill.
setImageFill(CdrImageFill value)Sets the image fill.

CdrFill()

public CdrFill()

getFillType()

public final short getFillType()

Gets the type of the fill.

Returns: short - the type of the fill.

setFillType(short value)

public final void setFillType(short value)

Sets the type of the fill.

Parameters:

ParameterTypeDescription
valueshortthe type of the fill.

getColor1()

public final CdrColor getColor1()

Gets the color1.

Returns: CdrColor - the color1.

setColor1(CdrColor value)

public final void setColor1(CdrColor value)

Sets the color1.

Parameters:

ParameterTypeDescription
valueCdrColorthe color1.

getColor2()

public final CdrColor getColor2()

Gets the color2.

Returns: CdrColor - the color2.

setColor2(CdrColor value)

public final void setColor2(CdrColor value)

Sets the color2.

Parameters:

ParameterTypeDescription
valueCdrColorthe color2.

getGradient()

public final CdrGradient getGradient()

Gets the gradient.

Returns: CdrGradient - the gradient.

setGradient(CdrGradient value)

public final void setGradient(CdrGradient value)

Sets the gradient.

Parameters:

ParameterTypeDescription
valueCdrGradientthe gradient.

getImageFill()

public final CdrImageFill getImageFill()

Gets the image fill.

Returns: CdrImageFill - the image fill.

setImageFill(CdrImageFill value)

public final void setImageFill(CdrImageFill value)

Sets the image fill.

Parameters:

ParameterTypeDescription
valueCdrImageFillthe image fill.