Fantom

 

pod

gfx

Graphics API

Mixins

Brush Brush defines how a shape is filled
Graphics Graphics is used to draw 2D graphics.

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.
GfxEnv GfxEnv models an implementation of the gfx graphics API.
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.