Class SolidPolygon
java.lang.Object
eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractShape
eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractCoordinateShape
eu.svjatoslav.sixth.e3d.renderer.raster.shapes.basic.solidpolygon.SolidPolygon
polygon with solid color.
-
Field Summary
Fields inherited from class eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractCoordinateShape
coordinates, onScreenZ, shapeId
Fields inherited from class eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractShape
mouseInteractionController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
drawHorizontalLine
(LineInterpolator line1, LineInterpolator line2, int y, RenderingContext renderBuffer, Color color) static void
drawPolygon
(RenderingContext context, Point2D onScreenPoint1, Point2D onScreenPoint2, Point2D onScreenPoint3, MouseInteractionController mouseInteractionController, Color color) getColor()
void
paint
(RenderingContext renderBuffer) void
Methods inherited from class eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractCoordinateShape
getZ, transform
Methods inherited from class eu.svjatoslav.sixth.e3d.renderer.raster.shapes.AbstractShape
setMouseInteractionController
-
Constructor Details
-
SolidPolygon
-
-
Method Details
-
drawHorizontalLine
public static void drawHorizontalLine(LineInterpolator line1, LineInterpolator line2, int y, RenderingContext renderBuffer, Color color) -
drawPolygon
public static void drawPolygon(RenderingContext context, Point2D onScreenPoint1, Point2D onScreenPoint2, Point2D onScreenPoint3, MouseInteractionController mouseInteractionController, Color color) -
getColor
-
setColor
-
paint
- Specified by:
paint
in classAbstractCoordinateShape
-