public class CadGradientBackground extends CadBaseObject
Class describing Gradient Background
| Constructor and Description |
|---|
CadGradientBackground() |
| Modifier and Type | Method and Description |
|---|---|
int |
getColorBottomValue()
Gets or sets the color (RGB) value for the bottom of the gradient.
|
int |
getColorMiddleValue()
Gets or sets the color (RGB) value for the middle of the gradient.
|
int |
getColorTopValue()
Gets or sets the color (RGB) value for the top of the gradient.
|
double |
getHeight()
Gets a value representing a percentage of the second color in a three-color gradient.
|
double |
getHorizon()
Gets or sets the horizon value indicating the percentage of unrotated height.
|
double |
getRotation()
Gets or sets the angle by which the gradient background will be rotated.
|
void |
setColorBottomValue(int value)
Gets or sets the color (RGB) value for the bottom of the gradient.
|
void |
setColorMiddleValue(int value)
Gets or sets the color (RGB) value for the middle of the gradient.
|
void |
setColorTopValue(int value)
Gets or sets the color (RGB) value for the top of the gradient.
|
void |
setHorizon(double value)
Gets or sets the horizon value indicating the percentage of unrotated height.
|
void |
setRotation(double value)
Gets or sets the angle by which the gradient background will be rotated.
|
getChildObjects, getTypeName, setChildObjectsgetHardOwner, getNumreactors, getReactors, getSoftOwner, getStorageFlag, isSoftOwnerSet, setHardOwner, setNumreactors, setReactors, setSoftOwner, setStorageFlaggetApplicationCodesContainer, getAttribute102Values, getAttributes, getEmbeddedObjectsContainer, getObjectHandle, getUID, getXdataContainer, setApplicationCodesContainer, setAttribute102Values, setAttributes, setEmbeddedObjectsContainer, setObjectHandle, setUID, setXdataContainerpublic final int getColorTopValue()
Gets or sets the color (RGB) value for the top of the gradient.
Value: Anint value representing the color (RGB) for the top of the gradient.public final void setColorTopValue(int value)
Gets or sets the color (RGB) value for the top of the gradient.
Value: Anint value representing the color (RGB) for the top of the gradient.public final int getColorMiddleValue()
Gets or sets the color (RGB) value for the middle of the gradient.
Value: Anint value representing the color (RGB) for the middle of the gradient.public final void setColorMiddleValue(int value)
Gets or sets the color (RGB) value for the middle of the gradient.
Value: Anint value representing the color (RGB) for the middle of the gradient.public final int getColorBottomValue()
Gets or sets the color (RGB) value for the bottom of the gradient.
Value: Anint value representing the color (RGB) for the bottom of the gradient.public final void setColorBottomValue(int value)
Gets or sets the color (RGB) value for the bottom of the gradient.
Value: Anint value representing the color (RGB) for the bottom of the gradient.public final double getHorizon()
Gets or sets the horizon value indicating the percentage of unrotated height.
Value: Adouble value indicating the percentage of unrotated height.public final void setHorizon(double value)
Gets or sets the horizon value indicating the percentage of unrotated height.
Value: Adouble value indicating the percentage of unrotated height.public final double getHeight()
Gets a value representing a percentage of the second color in a three-color gradient.
Value: Adouble value representing a percentage of the second color in a three-color gradient.
public final double getRotation()
Gets or sets the angle by which the gradient background will be rotated.
Value: Adouble value indicating which angle the gradient is rotated to.public final void setRotation(double value)
Gets or sets the angle by which the gradient background will be rotated.
Value: Adouble value indicating which angle the gradient is rotated to.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.