Scalar Vector Graphics Palette

Note: This palette drawer available for Java only.

Use Scalar Vector Graphics to drawer lines and simple shapes. The Scalar Vector Graphics include the SVG component which you first drag into your UI file and then add shapes and lines to it to create a drawing. See the Nexaweb API > XML UI documentation for detailed information on these components.

image\img00473.gif

 

Component

Description

XAL

svg


ellipse

g


line

path

polygon

polyline

rect

Adds the root element for a collection of SVG primitives and groups to a UI file.

Adds an ellipse to the svg component.

Groups shapes in a svg component so that you can transform and style them together.

Adds a line to the svg component.

Adds a quadratic or cubic curve to the svg component.

Adds to the svg component a closed shape that has at least three sides. The last point of the polygon will always connect back to the first point.

Adds an open unfilled path of line segments to the svg component.

Adds a rectangle to the svg component.

<svg >

<ellipse >

<g >


<line >

<path >

<polygon >

<polyline >

<rect >