Uses of Class
org.vaadin.firitin.element.svg.PolygonElement
Packages that use PolygonElement
-
Uses of PolygonElement in org.vaadin.firitin.element.svg
Methods in org.vaadin.firitin.element.svg that return PolygonElementModifier and TypeMethodDescriptionPolygonElement.addPoint(double x, double y) Adds a point to the polygon.PolygonElement.addPoints(double... coords) Adds multiple points to the polygon.PolygonElement.clearPoints()Clears all points from the polygon.PolygonElement.pathLength(double pathLength) Sets the total length for the polygon's perimeter in user units.PolygonElement.pathLengthRW(double pathLength) Sets the total length for the polygon's perimeter in user units (read-write).PolygonElement.points(double... coords) Sets the points from an array of coordinate pairs.Sets the points directly as a string.Sets the points directly as a string (read-write).PolygonElement.regularPolygon(double cx, double cy, double radius, int sides) Creates a regular polygon with the specified number of sides.PolygonElement.star(double cx, double cy, double outerRadius, double innerRadius, int points) Creates a star shape.PolygonElement.triangle(double x1, double y1, double x2, double y2, double x3, double y3) Creates a triangle with the specified vertices.