JpegBrush Object

Overview

The Brush object enables setting the brush color and transparency for drawing operations. This object is obtained via the Brush property of the JpegCanvas object.

Member List

Properties


uint Color(Read/Write)

Specifies a brush color, e.g. 0xFF0000 for red. 0 (black) by default. Affects JpegCanvas's fill methods such as FillEllipse, FillRect, etc.

See also: Chapter 5 - Drawing & Typing.


float Opacity (Read/Write)

Specifies brush opacity. A float value between 0 and 1 must be specified. 1 corresponds to full opacity, 0 to full transparency. 1 by default. Affects JpegCanvas's fill methods such as FillEllipse, FillRect, etc.

See also: Section 5.4 - Anti-aliased Drawing Routines.

Methods

This object has no public methods.