trait Renderer extends AnyRef
This is the interface that all renderers need to implement. It provides basic drawing methods that are used for all plotting. By going through this interface, SwiftVis2 can render plots in different ways using the same plotting code.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Renderer
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def drawEllipse(cx: Double, cy: Double, width: Double, height: Double): Unit
- abstract def drawLine(x1: Double, y1: Double, x2: Double, y2: Double): Unit
- abstract def drawLinePath(x: Seq[Double], y: Seq[Double]): Unit
- abstract def drawPolygon(pnts: Seq[(Double, Double)]): Unit
- abstract def drawPolygon(xs: Seq[Double], ys: Seq[Double]): Unit
- abstract def drawRectangle(x: Double, y: Double, width: Double, height: Double): Unit
- abstract def drawText(s: String, x: Double, y: Double, align: Renderer.HorizontalAlign.Value, angle: Double): Unit
- abstract def fillEllipse(cx: Double, cy: Double, width: Double, height: Double): Unit
- abstract def fillPolygon(pnts: Seq[(Double, Double)]): Unit
- abstract def fillPolygon(xs: Seq[Double], ys: Seq[Double]): Unit
- abstract def fillRectangle(x: Double, y: Double, width: Double, height: Double): Unit
- abstract def finish(): Unit
- abstract def maxFontSize(strings: Seq[String], allowedWidth: Double, allowedHeight: Double, fd: FontData): Double
- abstract def restore(): Unit
- abstract def save(): Unit
- abstract def setClip(bounds: Bounds): Unit
- abstract def setColor(argb: Int): Unit
- abstract def setFont(fd: FontData, size: Double): Unit
- abstract def setStroke(stroke: StrokeData): Unit
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
- def drawRectangle(bounds: Bounds): Unit
- def drawRectangleC(cx: Double, cy: Double, width: Double, height: Double): Unit
- def drawRectangleP(x1: Double, y1: Double, x2: Double, y2: Double): Unit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def fillRectangle(bounds: Bounds): Unit
- def fillRectangleC(cx: Double, cy: Double, width: Double, height: Double): Unit
- def fillRectangleP(x1: Double, y1: Double, x2: Double, y2: Double): Unit
-
final
def
getClass(): Class[_]
- 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
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )