public abstract class LinearGradientBrushBase extends TransformBrush
Represents a Brush
with gradient capabilities and appropriate properties.
Modifier and Type | Method and Description |
---|---|
float |
getAngle()
Gets or sets the gradient angle.
|
boolean |
getGammaCorrection()
Gets or sets a value indicating whether gamma correction is enabled for this
LinearGradientBrushBase . |
RectangleF |
getRectangle()
Gets or sets a rectangular region that defines the starting and ending points of the gradient.
|
boolean |
isAngleScalable()
Gets or sets a value indicating whether
LinearGradientBrushBase.Angle (LinearGradientBrushBase.getAngle() /LinearGradientBrushBase.setAngle(float) ) is changed during trasnformations with this LinearGradientBrushBase . |
void |
setAngle(float value)
Gets or sets the gradient angle.
|
void |
setAngleScalable(boolean value)
Gets or sets a value indicating whether
LinearGradientBrushBase.Angle (LinearGradientBrushBase.getAngle() /LinearGradientBrushBase.setAngle(float) ) is changed during trasnformations with this LinearGradientBrushBase . |
void |
setGammaCorrection(boolean value)
Gets or sets a value indicating whether gamma correction is enabled for this
LinearGradientBrushBase . |
void |
setRectangle(RectangleF value)
Gets or sets a rectangular region that defines the starting and ending points of the gradient.
|
getTransform, getWrapMode, isTransformChanged, multiplyTransform, multiplyTransform, resetTransform, rotateTransform, rotateTransform, scaleTransform, scaleTransform, setTransform, setWrapMode, translateTransform, translateTransform
deepClone, getOpacity, setOpacity
dispose, getDisposed
public final RectangleF getRectangle()
Gets or sets a rectangular region that defines the starting and ending points of the gradient.
Value: ARectangleF
structure that specifies the starting and ending points of the gradient.public final void setRectangle(RectangleF value)
Gets or sets a rectangular region that defines the starting and ending points of the gradient.
Value: ARectangleF
structure that specifies the starting and ending points of the gradient.public final float getAngle()
Gets or sets the gradient angle.
Value: The gradient angle.public final void setAngle(float value)
Gets or sets the gradient angle.
Value: The gradient angle.public final boolean isAngleScalable()
Gets or sets a value indicating whether LinearGradientBrushBase.Angle
(LinearGradientBrushBase.getAngle()
/LinearGradientBrushBase.setAngle(float)
) is changed during trasnformations with this LinearGradientBrushBase
.
true
if LinearGradientBrushBase.Angle
(LinearGradientBrushBase.getAngle()
/LinearGradientBrushBase.setAngle(float)
) is changed during transformations with this LinearGradientBrushBase
; otherwise, false
.public final void setAngleScalable(boolean value)
Gets or sets a value indicating whether LinearGradientBrushBase.Angle
(LinearGradientBrushBase.getAngle()
/LinearGradientBrushBase.setAngle(float)
) is changed during trasnformations with this LinearGradientBrushBase
.
true
if LinearGradientBrushBase.Angle
(LinearGradientBrushBase.getAngle()
/LinearGradientBrushBase.setAngle(float)
) is changed during transformations with this LinearGradientBrushBase
; otherwise, false
.public final boolean getGammaCorrection()
Gets or sets a value indicating whether gamma correction is enabled for this LinearGradientBrushBase
.
LinearGradientBrushBase
; otherwise, false.public final void setGammaCorrection(boolean value)
Gets or sets a value indicating whether gamma correction is enabled for this LinearGradientBrushBase
.
LinearGradientBrushBase
; otherwise, false.Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.