Circle

final case class Circle(center: Point, radius: Int, fill: Fill, stroke: Stroke, lighting: LightingModel, rotation: Radians, scale: Vector2, depth: Depth, ref: Point, flip: Flip, shaderId: Option[ShaderId]) extends Shape
Companion
object
trait Serializable
trait Product
trait Equals
trait Shape
trait Cloneable
trait SceneNode
class Object
trait Matchable
class Any

Value members

Concrete methods

def flipHorizontal(isFlipped: Boolean): Circle
def flipVertical(isFlipped: Boolean): Circle
def moveBy(pt: Point): Circle
def moveBy(x: Int, y: Int): Circle
def moveTo(pt: Point): Circle
def moveTo(x: Int, y: Int): Circle
def resizeBy(amount: Int): Circle
def resizeTo(newRadius: Int): Circle
def rotateBy(angle: Radians): Circle
def rotateTo(angle: Radians): Circle
def scaleBy(amount: Vector2): Circle
def scaleBy(x: Double, y: Double): Circle
def transformBy(positionDiff: Point, rotationDiff: Radians, scaleDiff: Vector2): Circle
def transformTo(newPosition: Point, newRotation: Radians, newScale: Vector2): Circle
def withDepth(newDepth: Depth): Circle
def withFillColor(newFill: Fill): Circle
def withFlip(newFlip: Flip): Circle
def withLighting(newLighting: LightingModel): Circle
def withPosition(newPosition: Point): Circle
def withRadius(newRadius: Int): Circle
def withRef(newRef: Point): Circle
def withRef(x: Int, y: Int): Circle
def withRotation(newRotation: Radians): Circle
def withScale(newScale: Vector2): Circle
def withShaderId(newShaderId: ShaderId): Circle
def withStroke(newStroke: Stroke): Circle
def withStrokeColor(newStrokeColor: RGBA): Circle
def withStrokeWidth(newWidth: Int): Circle

Inherited methods

Inherited from
Shape
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product

Concrete fields

lazy val position: Point
lazy val size: Size