Pentagon
scalation.scala2d.Pentagon
The Pentagon
class provides 5-sided polygons.
Attributes
- Graph
-
- Supertypes
-
trait Producttrait Equalsclass Polygonclass Polygontrait Serializabletrait Shapeclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Set the points/vertices for the pentagon.
Set the points/vertices for the pentagon.
Value parameters
- x
-
the x-coordinates
- y
-
the y-coordinates
Attributes
Set the frame for the pentagon.
Set the frame for the pentagon.
Value parameters
- hh
-
the height of the pentagon (1+cos54)h
- tx
-
the top-left x-coordinate
- ty
-
the top-left y-coordinate
- ww
-
the width of the pentagon (1+2cos72)w
Attributes
Inherited methods
Attributes
- Inherited from:
- Polygon
Attributes
- Inherited from:
- Polygon
Attributes
- Inherited from:
- Polygon
Attributes
- Inherited from:
- Polygon
Attributes
- Inherited from:
- Polygon
Attributes
- Inherited from:
- Polygon
Attributes
- Inherited from:
- Polygon
Attributes
- Inherited from:
- Polygon
Attributes
- Inherited from:
- Polygon
Attributes
- Inherited from:
- Polygon
Attributes
- Inherited from:
- Polygon
Attributes
- Inherited from:
- Polygon
Attributes
- Inherited from:
- Polygon
Attributes
- Inherited from:
- Polygon
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Polygon
Attributes
- Inherited from:
- Polygon
Deprecated and Inherited methods
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Polygon
@Deprecated
Attributes
- Deprecated
- true
- Inherited from:
- Polygon
In this article