Package org.arakhne.afc.nodefx.drawers
Class Ellipse2afpDrawer
- java.lang.Object
-
- org.arakhne.afc.nodefx.drawers.Ellipse2afpDrawer
-
- All Implemented Interfaces:
Drawer<Ellipse2afp>
public class Ellipse2afpDrawer extends Object implements Drawer<Ellipse2afp>
Drawer of a 2D ellipse.- Since:
- 15.0
- Version:
- 17.0 2020-01-04 14:41:52
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.advanced
- Maven Artifact Id:
- nodefx
-
-
Constructor Summary
Constructors Constructor Description Ellipse2afpDrawer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
draw(ZoomableGraphicsContext gc, Ellipse2afp element)
Draw the given document primitives.Class<? extends Ellipse2afp>
getPrimitiveType()
Replies the type of the primitives that could be drawn by this drawer.
-
-
-
Method Detail
-
getPrimitiveType
public Class<? extends Ellipse2afp> getPrimitiveType()
Description copied from interface:Drawer
Replies the type of the primitives that could be drawn by this drawer.- Specified by:
getPrimitiveType
in interfaceDrawer<Ellipse2afp>
- Returns:
- the type of the primitives.
-
draw
public void draw(ZoomableGraphicsContext gc, Ellipse2afp element)
Description copied from interface:Drawer
Draw the given document primitives.- Specified by:
draw
in interfaceDrawer<Ellipse2afp>
- Parameters:
gc
- the graphics context that must be used for drawing.element
- the primitive to draw.
-
-