Fantom

 

pod

gfx

Graphics API

Types

Border Modes width, style, color, and radius of a rectangular border.
Brush Brush defines how a shape is filled
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 using a two color linear gradient.
Graphics Graphics is used to draw 2D graphics.
Halign Horizontal alignment: left, center, right, fill, or repeat.
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.
Orientation Horizontal or vertical.
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.
Valign Vertical alignment: top, center, bottom, fill, or repeat.