Table of Contents

Class MetaBrush

Namespace
iText.Kernel.Pdf.Canvas.Wmf
Assembly
itext.kernel.dll

A Brush bject that holds information about the style, the hatch and the color of the brush.

public class MetaBrush : MetaObject
Inheritance
MetaBrush
Inherited Members

Constructors

MetaBrush()

Creates a MetaBrush object.

public MetaBrush()

Fields

BS_DIBPATTERN

public const int BS_DIBPATTERN = 5

Field Value

int

BS_HATCHED

public const int BS_HATCHED = 2

Field Value

int

BS_NULL

public const int BS_NULL = 1

Field Value

int

BS_PATTERN

public const int BS_PATTERN = 3

Field Value

int

BS_SOLID

public const int BS_SOLID = 0

Field Value

int

HS_BDIAGONAL

public const int HS_BDIAGONAL = 3

Field Value

int

HS_CROSS

public const int HS_CROSS = 4

Field Value

int

HS_DIAGCROSS

public const int HS_DIAGCROSS = 5

Field Value

int

HS_FDIAGONAL

public const int HS_FDIAGONAL = 2

Field Value

int

HS_HORIZONTAL

public const int HS_HORIZONTAL = 0

Field Value

int

HS_VERTICAL

public const int HS_VERTICAL = 1

Field Value

int

Methods

GetColor()

Get the color of the MetaBrush.

public virtual Color GetColor()

Returns

Color

color of the brush

GetHatch()

Get the hatch pattern of the MetaBrush

public virtual int GetHatch()

Returns

int

hatch of the brush

GetStyle()

Get the style of the MetaBrush.

public virtual int GetStyle()

Returns

int

style of the brush

Init(InputMeta)

Initializes this MetaBrush object.

public virtual void Init(InputMeta @in)

Parameters

in InputMeta

the InputMeta