case class
Pentagon(vertex: Array[R2]) extends Double with Error with Product with Serializable
Instance Constructors
-
new
Pentagon(topLeft: R2, side: Double)
-
new
Pentagon(vertex: Array[R2])
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
append(arg0: PathIterator, arg1: Boolean): Unit
-
final
def
append(arg0: Shape, arg1: Boolean): Unit
-
final
def
asInstanceOf[T0]: T0
-
def
canEqual(arg0: Any): Boolean
-
final
def
clone(): AnyRef
-
final
def
closePath(): Unit
-
final
def
contains(arg0: Rectangle2D): Boolean
-
final
def
contains(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
-
final
def
contains(arg0: Point2D): Boolean
-
final
def
contains(arg0: Double, arg1: Double): Boolean
-
final
def
createTransformedShape(arg0: AffineTransform): Shape
-
final
def
curveTo(arg0: Double, arg1: Double, arg2: Double, arg3: Double, arg4: Double, arg5: Double): Unit
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
flaw(method: String, message: String): Unit
-
final
def
getBounds(): Rectangle
-
final
def
getBounds2D(): Rectangle2D
-
final
def
getClass(): java.lang.Class[_]
-
final
def
getCurrentPoint(): Point2D
-
final
def
getPathIterator(arg0: AffineTransform): PathIterator
-
final
def
getPathIterator(arg0: AffineTransform, arg1: Double): PathIterator
-
def
getTopLeft: R2
-
final
def
getWindingRule(): Int
-
def
hashCode(): Int
-
final
def
intersects(arg0: Rectangle2D): Boolean
-
final
def
intersects(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
lineTo(arg0: Double, arg1: Double): Unit
-
final
def
moveTo(arg0: Double, arg1: Double): Unit
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
productArity: Int
-
def
productElement(arg0: Int): Any
-
def
productIterator: Iterator[Any]
-
def
productPrefix: String
-
final
def
quadTo(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Unit
-
final
def
reset(): Unit
-
final
def
setWindingRule(arg0: Int): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
transform(arg0: AffineTransform): Unit
-
val
vertex: Array[R2]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Deprecated Value Members
-
def
productElements: Iterator[Any]
Inherited from Product
Value Members
-
def
productIterator: Iterator[Any]
-
def
productElements: Iterator[Any]
Inherited from Error
Value Members
-
def
flaw(method: String, message: String): Unit
Inherited from Double
Value Members
-
final
def
append(arg0: PathIterator, arg1: Boolean): Unit
-
final
def
clone(): AnyRef
-
final
def
curveTo(arg0: Double, arg1: Double, arg2: Double, arg3: Double, arg4: Double, arg5: Double): Unit
-
final
def
getBounds2D(): Rectangle2D
-
final
def
getPathIterator(arg0: AffineTransform): PathIterator
-
final
def
lineTo(arg0: Double, arg1: Double): Unit
-
final
def
moveTo(arg0: Double, arg1: Double): Unit
-
final
def
quadTo(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Unit
-
final
def
transform(arg0: AffineTransform): Unit
Inherited from Path2D
Value Members
-
final
def
append(arg0: Shape, arg1: Boolean): Unit
-
final
def
closePath(): Unit
-
final
def
contains(arg0: Rectangle2D): Boolean
-
final
def
contains(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
-
final
def
contains(arg0: Point2D): Boolean
-
final
def
contains(arg0: Double, arg1: Double): Boolean
-
final
def
createTransformedShape(arg0: AffineTransform): Shape
-
final
def
getBounds(): Rectangle
-
final
def
getCurrentPoint(): Point2D
-
final
def
getPathIterator(arg0: AffineTransform, arg1: Double): PathIterator
-
final
def
getWindingRule(): Int
-
final
def
intersects(arg0: Rectangle2D): Boolean
-
final
def
intersects(arg0: Double, arg1: Double, arg2: Double, arg3: Double): Boolean
-
final
def
reset(): Unit
-
final
def
setWindingRule(arg0: Int): Unit
Inherited from AnyRef
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
eq(arg0: AnyRef): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): java.lang.Class[_]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from Any
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
final
def
isInstanceOf[T0]: Boolean
The Pentagon class enhances the Path2D.Double class (from the java.awt.geom package) by adding a constructor for building a pentagon given its vertices.
the five corner points of the pentagon