Enum IGDIPlus.TGPBrushType

From Mitov Wiki Doc
Revision as of 01:00, 7 June 2013 by David Alm (Talk | contribs)
Jump to: navigation, search

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

Contents

Syntax

Delphi:

type TGPBrushType = (BrushTypeSolidColor, BrushTypeHatchFill, BrushTypeTextureFill, BrushTypePathGradient, BrushTypeLinearGradient);

C++ Builder:

enum TGPBrushType {BrushTypeSolidColor, BrushTypeHatchFill, BrushTypeTextureFill, BrushTypePathGradient, BrushTypeLinearGradient};

Visual C++ (MFC):

enum CTGPBrushType {BrushTypeSolidColor, BrushTypeHatchFill, BrushTypeTextureFill, BrushTypePathGradient, BrushTypeLinearGradient};

Summary

Indicates the type of brush. There are five types of brushes.

Description

Defines enumeration that indicates the type of brush. There are five types of brushes.

Values

BrushTypeSolidColor Indicates a brush of type TGPSolidBrush. A solid brush paints a single, constant color that can be opaque or transparent.
BrushTypeHatchFill Indicates a brush of type TGPHatchBrush. A hatch brush paints a background and paints, over that background, a pattern of lines, dots, dashes, squares, crosshatch, or some variation of these. The hatch brush consists of two colors: one for the background and one for the pattern over the background. The color of the background is called the background color, and the color of the pattern is called the foreground color.
BrushTypeTextureFill Indicates a brush of type TGPTextureBrush. A texture brush paints an image. The image or texture is either a portion of a specified image or a scaled version of a specified image. The type of image (metafile or nonmetafile) determines whether the texture is a portion of the image or a scaled version of the image.
BrushTypePathGradient Indicates a brush of type TGPPathGradientBrush. A path gradient brush paints a color gradient in which the color changes from a center point outward to a boundary that is defined by a closed curve or path. The color gradient has one color at the center point and one or multiple colors at the boundary.
BrushTypeLinearGradient Indicates a brush of type TGPLinearGradientBrush. A linear gradient brush 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.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox