|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.aspose.imaging.DisposableObject
com.aspose.imaging.Brush
com.aspose.imaging.brushes.TransformBrush
com.aspose.imaging.brushes.PathGradientBrushBase
com.aspose.imaging.brushes.PathMulticolorGradientBrush
public final class PathMulticolorGradientBrush
Encapsulates a Brush object with a gradient. This class cannot be inherited.
| Constructor Summary | |
|---|---|
PathMulticolorGradientBrush(GraphicsPath path)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified path. |
|
PathMulticolorGradientBrush(Point[] points)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified points. |
|
PathMulticolorGradientBrush(Point[] points,
int wrapMode)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified points and wrap mode. |
|
PathMulticolorGradientBrush(PointF[] points)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified points. |
|
PathMulticolorGradientBrush(PointF[] points,
int wrapMode)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified points and wrap mode. |
|
| Method Summary | |
|---|---|
ColorBlend |
getInterpolationColors()
Gets a ColorBlend that defines a multicolor linear gradient. |
void |
setInterpolationColors(ColorBlend value)
Sets a ColorBlend that defines a multicolor linear gradient. |
| Methods inherited from class com.aspose.imaging.brushes.PathGradientBrushBase |
|---|
getCenterPoint, getFocusScales, getGraphicsPath, getPathPoints, setCenterPoint, setFocusScales |
| Methods inherited from class com.aspose.imaging.brushes.TransformBrush |
|---|
getTransform, getWrapMode, isTransformChanged, multiplyTransform, multiplyTransform, resetTransform, rotateTransform, rotateTransform, scaleTransform, scaleTransform, setTransform, setWrapMode, translateTransform, translateTransform |
| Methods inherited from class com.aspose.imaging.Brush |
|---|
deepClone, getOpacity, setOpacity |
| Methods inherited from class com.aspose.imaging.DisposableObject |
|---|
dispose, getDisposed, releaseManagedResources, releaseUnmanagedResources, verifyNotDisposed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PathMulticolorGradientBrush(GraphicsPath path)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified path.
path - The GraphicsPath that defines the area filled by this PathMulticolorGradientBrush.public PathMulticolorGradientBrush(Point[] points)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified points.
points - An array of Point structures that represents the points that make up the vertices of the path.
public PathMulticolorGradientBrush(Point[] points,
int wrapMode)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified points and wrap mode.
points - An array of Point structures that represents the points that make up the vertices of the path.wrapMode - A WrapMode that specifies how fills drawn with this PathMulticolorGradientBrush are tiled.public PathMulticolorGradientBrush(PointF[] points)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified points.
points - An array of PointF structures that represents the points that make up the vertices of the path.
public PathMulticolorGradientBrush(PointF[] points,
int wrapMode)
Initializes a new instance of the PathMulticolorGradientBrush class with the specified points and wrap mode.
points - An array of PointF structures that represents the points that make up the vertices of the path.wrapMode - A WrapMode that specifies how fills drawn with this PathMulticolorGradientBrush are tiled.| Method Detail |
|---|
public ColorBlend getInterpolationColors()
Gets a ColorBlend that defines a multicolor linear gradient.
ColorBlend that defines a multicolor linear gradient.
public void setInterpolationColors(ColorBlend value)
Sets a ColorBlend that defines a multicolor linear gradient.
ColorBlend that defines a multicolor linear gradient.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||