public final class PathMulticolorGradientBrush extends PathGradientBrushBase
Encapsulates a Brush
object with a gradient. This class cannot be inherited.
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
ColorBlend |
getInterpolationColors()
Gets or sets a
ColorBlend that defines a multicolor linear gradient. |
void |
setInterpolationColors(ColorBlend value)
Gets or sets a
ColorBlend that defines a multicolor linear gradient. |
getCenterPoint, getFocusScales, getGraphicsPath, getPathPoints, setCenterPoint, setFocusScales
getTransform, getWrapMode, isTransformChanged, multiplyTransform, multiplyTransform, resetTransform, rotateTransform, rotateTransform, scaleTransform, scaleTransform, setTransform, setWrapMode, translateTransform, translateTransform
deepClone, getOpacity, setOpacity
dispose, getDisposed
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.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(GraphicsPath path)
Initializes a new instance of the PathMulticolorGradientBrush
class with the specified path.
path
- The GraphicsPath
(PathGradientBrushBase.getGraphicsPath()
) that defines the area filled by this PathMulticolorGradientBrush
.public final ColorBlend getInterpolationColors()
Gets or sets a ColorBlend
that defines a multicolor linear gradient.
ColorBlend
that defines a multicolor linear gradient.public final void setInterpolationColors(ColorBlend value)
Gets or sets a ColorBlend
that defines a multicolor linear gradient.
ColorBlend
that defines a multicolor linear gradient.Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.