smile.pictures.Pentagon
Regular pentagons with a vertex straight up.
import smile.colors.PresetColor.*
import smile.modeling.*
val pentagon = Pentagon(40, Pos.Origin, fillWith(Teal), None)

Attributes
- Source
-
Shapes.scala
- Graph
-
- Supertypes
-
trait Matchable
class Any
- Self type
-
Members list
The largest regular pentagon that fits in a box width wide and height high, centered at the origin.
The largest regular pentagon that fits in a box width wide and height high, centered at the origin.
Attributes
- Throws
-
- Source
-
Shapes.scala
The largest regular pentagon that fits in a box width wide and height high, its box centered at center.
The largest regular pentagon that fits in a box width wide and height high, its box centered at center.
Attributes
- Throws
-
- Source
-
Shapes.scala
A regular pentagon with its vertices circumradius from its center of symmetry, its box centered at center.
A regular pentagon with its vertices circumradius from its center of symmetry, its box centered at center.
Attributes
- Throws
-
- Source
-
Shapes.scala
Generated with
Scala Media Interactive Learning / Aalto LeTech
Scala Media Interactive Learning / Aalto LeTech