cz.cuni.jagrlib.iface
Interface EllipseRender

All Superinterfaces:
Property, Render
All Known Implementing Classes:
Ellipse

public interface EllipseRender
extends Render

Rendering interface for stroked ellipses.

Since:
0.01
See Also:
EllipseRender.java

Field Summary
 
Fields inherited from interface cz.cuni.jagrlib.iface.Render
LINE_CAP, LINE_CAP_BUTT, LINE_CAP_ROUND, LINE_CAP_SQUARE, LINE_JOIN, LINE_JOIN_BEVEL, LINE_JOIN_DISJOINT, LINE_JOIN_MITER, LINE_JOIN_OVERLAP, LINE_JOIN_ROUND, LINE_WIDTH, PROJECTION, RENDER_STYLE, RENDER_STYLE_FLAT, RENDER_STYLE_GOURAUD, RENDER_STYLE_LINE, RENDER_STYLE_PHONG, RENDER_STYLE_TEXTURE
 
Fields inherited from interface cz.cuni.jagrlib.iface.Property
LOGGING, STATISTICS, TEXT_DESCRIPTION
 
Method Summary
 void drawEllipse(double x, double y, double a, double b)
          Draws an axis-aligned ellipse with center [x,y] and radii a, b.
 void drawEllipse(double x, double y, double a, double b, double tilt)
          Draws a tilted ellipse with center [x,y] and radii a, b.
 void drawEllipse(int x, int y, int a, int b)
          Draws an axis-aligned ellipse with center [x,y] and radii a, b.
 
Methods inherited from interface cz.cuni.jagrlib.iface.Property
commit, get, set
 

Method Detail

drawEllipse

void drawEllipse(int x,
                 int y,
                 int a,
                 int b)
Draws an axis-aligned ellipse with center [x,y] and radii a, b.

Parameters:
x - X coordinate of ellipse center.
y - X coordinate of ellipse center.
a - Horizontal radius of the ellipse.
b - Vertical radius of the ellipse.

drawEllipse

void drawEllipse(double x,
                 double y,
                 double a,
                 double b)
Draws an axis-aligned ellipse with center [x,y] and radii a, b.

Parameters:
x - X coordinate of ellipse center.
y - X coordinate of ellipse center.
a - Horizontal radius of the ellipse.
b - Vertical radius of the ellipse.

drawEllipse

void drawEllipse(double x,
                 double y,
                 double a,
                 double b,
                 double tilt)
Draws a tilted ellipse with center [x,y] and radii a, b.

Parameters:
x - X coordinate of ellipse center.
y - X coordinate of ellipse center.
a - Primary radius of the ellipse.
b - Secondary radius of the ellipse.
tilt - Tilt angle in radians. 0.0 for axis-aligned ellipse. Positive orientation means counterclockwise.