smile.pictures.Star5
Five-pointed stars with a point straight up.
import smile.colors.PresetColor.*
import smile.modeling.*
val star = Star5(40, 16, Pos.Origin, fillWith(Gold), lineWith(Black, 2, round = true))
Attributes
Source
Shapes.scala
Graph
Reset zoom Hide graph Show graph
Supertypes
trait Matchable
class Any
Self type
Members list
The largest star that fits in a box width wide and height high, with its inner corners cuspRadius from its center of symmetry, centered at the origin.
The largest star that fits in a box width wide and height high, with its inner corners cuspRadius from its center of symmetry, centered at the origin.
Attributes
Source
Shapes.scala
The largest star that fits in a box width wide and height high, with its inner corners cuspRadius from its center of symmetry, its box centered at center.
The largest star that fits in a box width wide and height high, with its inner corners cuspRadius from its center of symmetry, its box centered at center.
Attributes
Throws
Source
Shapes.scala
A star with its points circumradius and its inner corners cuspRadius from its center of symmetry, its box centered at center.
A star with its points circumradius and its inner corners cuspRadius 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