pod vaseGraphics

Graphics 2D API

Mixins

Brush

Brush defines how a shape is filled

Graphics

Graphics is used to draw 2D graphics.

PointArray

High Performance Point Array

Classes

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.

GraphicsPath

represent paths through the two-dimensional coordinate system

Image

Image represents a graphical image.

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.

Shadow

High Performance Point Array

Size

Size represents the width and height of a rectangle.

Enums

Composite

Composite mode combines a shape, text, or an image being rendered with the colors that have already been rendered according to pre-defined rules.

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.