Interface IGDIPlus.IGPBlendBrush
From Mitov Wiki Doc
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: IGPWrapBrush
Contents |
Syntax
Delphi:
type IGPBlendBrush = interface( IGPWrapBrush )
Summary
Interface to a blend brush type of object.
Description
Defines interface to a blend brush type of object. This includes TGPLinearGradientBrush and TGPPathGradientBrush objects.
Properties
- Blend - Gets or sets the blend factors and the corresponding blend positions currently set for this path gradient brush.
- BlendCount - Returns the number of blend factors currently set for this path gradient brush.
- InterpolationColors - Gets or sets the preset colors and blend positions currently specified for the brush.
- InterpolationColorCount - Returns the number of preset colors currently specified for the brush.
- GammaCorrection - Sets or gets whether gamma correction is enabled for this path gradient brush.
Methods
- function GetBlendCount() : Integer - Returns the number of blend factors currently set for this path gradient brush.
- function GetBlend() : TGPBlendArray - Returns the blend factors and the corresponding blend positions currently set for this path gradient brush.
- procedure SetBlendProp(blendFactors : TGPBlendArray)
- function GetInterpolationColorCount() : Integer - Returns the number of preset colors currently specified for the brush.
- procedure SetInterpolationColorsProp(Colors : TGPInterpolationColorArray)
- function GetInterpolationColors() : TGPInterpolationColorArray - Returns the preset colors and blend positions currently specified for the brush.
- procedure SetGammaCorrectionProp(useGammaCorrection : Boolean)
- function GetGammaCorrection() : Boolean - Returns whether gamma correction is enabled for the brush.