The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Ellipse - A XFig file animator class - Ellipse object

DESCRIPTION

Ellipse object - object code in FIG format: 1. Here are all the attributes of this class:

sub_type, line_style, thickness, pen_color, fill_color, depth, pen_style, area_fill, style_val, direction, angle, center_x, center_y, radius_x, radius_y, start_x, start_y, end_x, end_y

FIG ATTRIBUTES

sub_type

1: ellipse defined by radii; 2: ellipse defined by diameters; 3: circle defined by radius; 4: circle defined by diameter.

line_style

-1: Default; 0: Solid; 1: Dashed; 2: Dotted; 3: Dash-dotted; 4: Dash-double-dotted; 5: Dash-triple-dotted.

thickness

80-ths of an inch ("display units")

pen_color

-1..31: FIG colors; 32..543 (512 total): user colors.

fill_color

-1..31: FIG colors; 32..543 (512 total): user colors.

depth

0 ... 999: larger value means object is deeper than (under) objects with smaller depth

pen_style

unused

area_fill

fill type

style_val

length, in 1/80 inches, of the on/off dashes for dashed lines, and the distance between the dots, in 1/80 inches, for dotted lines

direction

always 1

angle

radians, the angle of the x-axis

center_x, center_y

Fig units

radius_x, radius_y

Fig units

start_x, start_y

Fig units; the 1st point entered

end_x, end_y

Fig units; the last point entered

ADDITONNAL ATTRIBUTES

visibility

0: hidden; 1: shown