com.aspose.imaging.brushes
Class PathMulticolorGradientBrush

java.lang.Object
  extended by com.aspose.imaging.DisposableObject
      extended by com.aspose.imaging.Brush
          extended by com.aspose.imaging.brushes.TransformBrush
              extended by com.aspose.imaging.brushes.PathGradientBrushBase
                  extended by com.aspose.imaging.brushes.PathMulticolorGradientBrush

public final class PathMulticolorGradientBrush
extends PathGradientBrushBase

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

PathMulticolorGradientBrush

public PathMulticolorGradientBrush(GraphicsPath path)

Initializes a new instance of the PathMulticolorGradientBrush class with the specified path.

Parameters:
path - The GraphicsPath that defines the area filled by this PathMulticolorGradientBrush.

PathMulticolorGradientBrush

public PathMulticolorGradientBrush(Point[] points)

Initializes a new instance of the PathMulticolorGradientBrush class with the specified points.

Parameters:
points - An array of Point structures that represents the points that make up the vertices of the path.

PathMulticolorGradientBrush

public PathMulticolorGradientBrush(Point[] points,
                                   int wrapMode)

Initializes a new instance of the PathMulticolorGradientBrush class with the specified points and wrap mode.

Parameters:
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.

PathMulticolorGradientBrush

public PathMulticolorGradientBrush(PointF[] points)

Initializes a new instance of the PathMulticolorGradientBrush class with the specified points.

Parameters:
points - An array of PointF structures that represents the points that make up the vertices of the path.

PathMulticolorGradientBrush

public PathMulticolorGradientBrush(PointF[] points,
                                   int wrapMode)

Initializes a new instance of the PathMulticolorGradientBrush class with the specified points and wrap mode.

Parameters:
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

getInterpolationColors

public ColorBlend getInterpolationColors()

Gets a ColorBlend that defines a multicolor linear gradient.

Value: A ColorBlend that defines a multicolor linear gradient.


setInterpolationColors

public void setInterpolationColors(ColorBlend value)

Sets a ColorBlend that defines a multicolor linear gradient.

Value: A ColorBlend that defines a multicolor linear gradient.