Interface IGDIPlus.IGPPathGradientBrush
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabBasicPkg
Unit: IGDIPlus
Inherits: IGPBlendBrush
Contents |
Syntax
Delphi:
type IGPPathGradientBrush = interface( IGPBlendBrush )
Summary
Interface to a TGPPathGradientBrush object.
Description
Defines interface to a TGPPathGradientBrush object.
The TGPLinearGradientBrush class defines a brush that paints a color gradient in which the color changes evenly from the starting boundary line of the linear gradient brush to the ending boundary line of the linear gradient brush. The boundary lines of a linear gradient brush are two parallel straight lines. The color gradient is perpendicular to the boundary lines of the linear gradient brush, changing gradually across the stroke from the starting boundary line to the ending boundary line. The color gradient has one color at the starting boundary line and another color at the ending boundary line.
Properties
- CenterColor - Sets or gets the center color of this path gradient brush.
- CenterPoint - Gets or sets the number of points in the array of points that defines this brush's boundary path.
- SurroundColors - Gets or sets the surround colors currently specified for this path gradient brush.
Methods
- function GetCenterColor() : TGPColor - Returns the color of the center point of this path gradient brush.
- function SetCenterColor(color : TGPColor) : TGPPathGradientBrush - Sets the center color of this path gradient brush.
- procedure SetCenterColorProp(color : TGPColor)
- function GetPointCount() : Integer - Returns the number of points in the array of points that defines this brush's boundary path.
- function GetSurroundColorCount() : Integer - Returns the number of preset colors currently specified for this path gradient brush.
- function SetSurroundColors(colors : array) : TGPPathGradientBrush
- procedure SetSurroundColorsProp(colors : TGPColorArray)
- function GetSurroundColors() : TGPColorArray - Returns the surround colors currently specified for this path gradient brush.
- function GetGraphicsPath() : IGPGraphicsPath - The GetGraphicsPath method is not implemented in Microsoft Windows GDI+ version 1.0.
- function SetGraphicsPath(path : IGPGraphicsPath) : TGPPathGradientBrush - The SetGraphicsPath method is not implemented in Microsoft Windows GDI+ version 1.0.
- procedure SetGraphicsPathProp(path : IGPGraphicsPath)
- procedure SetCenterPointFProp(point : TGPPointF)
- function SetCenterPointF(point : TGPPointF) : TGPPathGradientBrush - Sets the center point of the path gradient brush.
- function GetCenterPointF() : TGPPointF - Returns the center point of the path gradient brush.
- function SetCenterPoint(point : TGPPoint) : TGPPathGradientBrush - Sets the center point of the path gradient brush.
- function GetCenterPoint() : TGPPoint - Returns the center point of the path gradient brush.
- function GetRectangleF() : TGPRectF - Returns the smallest rectangle that encloses the boundary path of this path gradient brush.
- function GetRectangle() : TGPRect - Returns the smallest rectangle that encloses the boundary path of this path gradient brush.
- function SetGammaCorrection(useGammaCorrection : Boolean) : TGPPathGradientBrush - Specifies whether gamma correction is enabled for this path gradient brush.
- function SetBlendArrays(blendFactors : array; blendPositions : array) : TGPPathGradientBrush
- function SetBlend(blendFactors : array) : TGPPathGradientBrush
- procedure SetInterpolationColorsProp(Colors : TGPInterpolationColorArray)
- function SetInterpolationColors(Colors : array) : TGPPathGradientBrush
- function SetInterpolationColorArrays(presetColors : array; blendPositions : array) : TGPPathGradientBrush
- function SetBlendBellShape(focus : Single; scale : Single) : TGPPathGradientBrush - Sets the blend shape of this path gradient brush.
- function SetBlendTriangularShape(focus : Single; scale : Single) : TGPPathGradientBrush - Sets the blend shape of this path gradient brush.
- function SetTransform(matrix : IGPMatrix) : TGPPathGradientBrush - Sets the world transformation of the object.
- function ResetTransform() : TGPPathGradientBrush - Sets the world transformation matrix of the object to the identity matrix.
- function MultiplyTransform(matrix : IGPMatrix; order : TGPMatrixOrder) : TGPPathGradientBrush - Updates the world transformation matrix of the object with the product of itself and another matrix.
- function TranslateTransform(dx : Single; dy : Single; order : TGPMatrixOrder) : TGPPathGradientBrush - Updates the object's world transformation matrix with the product of itself and a translation matrix.
- function ScaleTransform(sx : Single; sy : Single; order : TGPMatrixOrder) : TGPPathGradientBrush - Sets the object's world transformation matrix equal to the product of itself and a scaling matrix.
- function RotateTransform(angle : Single; order : TGPMatrixOrder) : TGPPathGradientBrush - Updates the world transformation matrix of the object with the product of itself and a rotation matrix.
- function GetFocusScales(xScale : Single; yScale : Single) : TGPPathGradientBrush - Returns the focus scales of this path gradient brush.
- function SetFocusScales(xScale : Single; yScale : Single) : TGPPathGradientBrush - Sets the focus scales of this path gradient brush.
- function SetWrapMode(wrapMode : TGPWrapMode) : TGPPathGradientBrush - Sets the wrap mode of this path gradient brush.