Circle

indigo.shared.scenegraph.Shape.Circle
See theCircle companion object
final case class Circle(circle: Circle, fill: Fill, stroke: Stroke, lighting: LightingModel, eventHandlerEnabled: Boolean, eventHandler: ((Circle, GlobalEvent)) => Option[GlobalEvent], rotation: Radians, scale: Vector2, depth: Depth, ref: Point, flip: Flip, shaderId: Option[ShaderId]) extends Shape[Circle]

Draws a coloured circle from it's center outwards.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Shape[Circle]
trait Cloneable
trait SceneNode
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

type Out = T

Attributes

Inherited from:
RenderNode

Value members

Concrete methods

def flipHorizontal(isFlipped: Boolean): Circle
def flipVertical(isFlipped: Boolean): Circle
def modifyFill(modifier: Fill => Fill): Circle
def modifyStroke(modifier: Stroke => Stroke): 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 onEvent(f: PartialFunction[(Circle, GlobalEvent), GlobalEvent]): 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 withFill(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

Deprecated methods

def withFillColor(newFill: Fill): Circle

Attributes

Deprecated
true

Inherited methods

Attributes

Inherited from:
Shape
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

lazy val position: Point
lazy val size: Size