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 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 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 rectangle)
Sets the gradient rectangle.
|
getTransform, getWrapMode, isTransformChanged, multiplyTransform, multiplyTransform, resetTransform, rotateTransform, rotateTransform, scaleTransform, scaleTransform, setTransform, setWrapMode, translateTransform, translateTransform
deepClone, getOpacity, setOpacity
close, dispose, getDisposed
public RectangleF getRectangle()
Gets or sets a rectangular region that defines the starting and ending points of the gradient.
Value: AAspose.Imaging.RectangleF
structure that specifies the starting and ending points of the gradient.public float getAngle()
Gets or sets the gradient angle.
Value: The gradient angle.public void setAngle(float value)
Gets or sets the gradient angle.
Value: The gradient angle.public boolean isAngleScalable()
Gets or sets a value indicating whether LinearGradientBrushBase.Angle
is changed during trasnformations with this LinearGradientBrushBase
.
true
if LinearGradientBrushBase.Angle
is changed during transformations with this LinearGradientBrushBase
; otherwise, false
.public void setAngleScalable(boolean value)
Gets or sets a value indicating whether LinearGradientBrushBase.Angle
is changed during trasnformations with this LinearGradientBrushBase
.
true
if LinearGradientBrushBase.Angle
is changed during transformations with this LinearGradientBrushBase
; otherwise, false
.public boolean getGammaCorrection()
Gets or sets a value indicating whether gamma correction is enabled for this LinearGradientBrushBase
.
LinearGradientBrushBase
; otherwise, false.public void setGammaCorrection(boolean value)
Gets or sets a value indicating whether gamma correction is enabled for this LinearGradientBrushBase
.
LinearGradientBrushBase
; otherwise, false.public void setRectangle(RectangleF rectangle)
Sets the gradient rectangle.
rectangle
- The new gradient rectangle.Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.