pod gfx

Graphics support for FWT

Mixins

Brush

Brush defines how a shape is filled

Graphics

Graphics is used to draw 2D graphics.

GraphicsPath

GraphicsPath is used to path complex shapes for stroking, filling, and clipping.

Classes

Border

Modes width, style, color, and radius of a rectangular border.

Color

Models an ARGB color (alpha, red, green, blue).

Font

Font models the rendering of text.

Gradient

Fills a shape with a linear or radial color gradient.

GradientStop

GradientStop is used with Gradient to model a color stop.

Hints

Hints model heights/weight contraints.

Image

Image represents a graphical image.

Insets

Insets represent a number of pixels around the edge of a rectangle.

Pattern

Pattern is an brush for filling shapes with an image.

Pen

Pen defines how a shape is stroked.

Point

Point represents a coordinate in the display space.

Rect

Represents the x,y coordinate and w,h size of a rectangle.

Size

Size represents the width and height of a rectangle.

Enums

GradientMode

Linear or radial

Halign

Horizontal alignment: left, center, right, fill, or repeat.

Orientation

Horizontal or vertical.

Valign

Vertical alignment: top, center, bottom, fill, or repeat.