trait CurvilinearShape extends Shape with Error
The CurvilinearShape
trait provides a general type for line and curves.
It is analogous to RectangularShape
.
- Alphabetic
- By Inheritance
- CurvilinearShape
- Error
- Shape
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def contains(arg0: Rectangle2D): Boolean
- Definition Classes
- Shape
- abstract def contains(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
- Definition Classes
- Shape
- abstract def contains(arg0: Point2D): Boolean
- Definition Classes
- Shape
- abstract def contains(arg0: Double, arg1: Double): Boolean
- Definition Classes
- Shape
- abstract def getBounds(): java.awt.Rectangle
- Definition Classes
- Shape
- abstract def getBounds2D(): Rectangle2D
- Definition Classes
- Shape
- abstract def getCenterX(): Double
Get the x-coordinate of the center of a line/curve.
Get the x-coordinate of the center of a line/curve. This method must be implemented by all classes mixing in this trait.
- abstract def getCenterY(): Double
Get the y-coordinate of the center of a line/curve.
Get the y-coordinate of the center of a line/curve. This method must be implemented by all classes mixing in this trait.
- abstract def getPathIterator(arg0: AffineTransform, arg1: Double): PathIterator
- Definition Classes
- Shape
- abstract def getPathIterator(arg0: AffineTransform): PathIterator
- Definition Classes
- Shape
- abstract def intersects(arg0: Rectangle2D): Boolean
- Definition Classes
- Shape
- abstract def intersects(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
- Definition Classes
- Shape
- abstract def setLine(p1: R2, pc: R2, bend: Double): Unit
Set (or reset) the location for a line/curve using the bend parameter to compute the control point.
Set (or reset) the location for a line/curve using the bend parameter to compute the control point. This method must be implemented by all classes mixing in this trait.
- bend
the bend or curvature (1. => line-length)
- abstract def setLine(p1: R2, p2: R2): Unit
Set (or reset) the location for a straight line.
Set (or reset) the location for a straight line. This method must be implemented by all classes mixing in this trait.
- p1
the starting point
- p2
the ending point
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def flaw(method: String, message: String): Unit
- Definition Classes
- Error
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def next(width: Double, height: Double): R2
Return the next point on the
CurvilinearShape
(one step beyond current point) and adjust from top-left to center coordinates for the object traversing the curve based on its width and height.Return the next point on the
CurvilinearShape
(one step beyond current point) and adjust from top-left to center coordinates for the object traversing the curve based on its width and height. Return null if past end point. This is an optional method.- width
the width of object traversing the curve
- height
the height of object traversing the curve
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def setLine(p1: R2, pc: R2, p2: R2): Unit
Set (or reset) the location for a line/curve using an explicitly given control point.
Set (or reset) the location for a line/curve using an explicitly given control point. This is an optional method.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated