[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.20.11.3 FVG Ellipse

The ellipse is a generalized circle. It has separate radii for the x and the y coordinates. You can think of an ellipse as a shape drawn inside a rectangular box, and each edge of the box just touching the extremes of the ellipse.

Defining the Shape

Example: This creates a flattened ellipse filled with white and bordered by red.

 
<ellipse cx="100"
         cy="100"
         rx="10"
         ry="30"
         stroke="#ff0000"
         fill="#ffffff" />

Allowed Parameters

Name

Required

Example

Description

cx

yes

cx="50"

Sets the center x coordinate of the ellipse.

cy

yes

cy="50"

Sets the center y coordinate of the ellipse.

rx

yes

rx="10"

Sets the radius of the x portion of the ellipse.

ry

yes

ry="40"

Sets the radius of the y portion of the ellipse.

stroke

no

stroke="#ff0000"

Turns on stroking of the shape, and sets the color. If this is not present, the shape will not be stroked. Either this value or `fill' must be present or the shape will be invisible.

fill

no

fill="#ff0000"

Turns on filling of the shape, and sets the color. If this is not present, the shape will not be filled. Either this value or `stroke' must be present or the shape will be invisible.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]

This document was generated using texi2html 1.76.