Ellipse

smile.pictures.Ellipse
object Ellipse

Ellipses with their axes along the x and y axes.

import smile.colors.PresetColor.*
import smile.modeling.*

val ellipse = Ellipse(Pos.Origin, 60, 30, fillWith(Orange), None)

An orange ellipse

Attributes

Source
Shapes.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Ellipse.type

Members list

Value members

Concrete methods

def apply(center: Pos, semiMajorAxis: Double, semiMinorAxis: Double, fill: Option[FillStyle], line: Option[StrokeStyle]): Shape

An ellipse centered at center with the half-axis semiMajorAxis along x and semiMinorAxis along y.

An ellipse centered at center with the half-axis semiMajorAxis along x and semiMinorAxis along y.

Attributes

Throws
IllegalArgumentException

if an axis is negative or not a number

Source
Shapes.scala