Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

GEF/GEF4/Geometry

< GEF‎ | GEF4
Revision as of 11:14, 21 October 2011 by Unnamed Poltroon (Talk) (New page: == Description == This is the documentation of the GEF4 Geometry API. You can find a small tutorial for the API here. == Shapes == === Line === === Rec...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This is the documentation of the GEF4 Geometry API. You can find a small tutorial for the API here.

Shapes

Line

Rectangle

RoundedRectangle

Polygon

Polyline

Ellipse

QuadraticCurve

CubicCurve

Path

Conversions (From/To AWT/SWT/Geometry)

From SWT to Geometry

Important. Very easy via the toSWT...() methods.

From AWT to Geometry

From Geometry to AWT

From AWT to SWT

From SWT to AWT

Affine transformations

Via projective geometry. All matrices can be combined before applying them to the particular shape.

Translation

Rotation

Scaling

Euclidean geometry

Point

Vector

Straight

Angle

Back to the top