Class/Object

scalafx.scene.paint

LinearGradient

Related Docs: object LinearGradient | package paint

Permalink

class LinearGradient extends Paint with SFXDelegate[javafx.scene.paint.LinearGradient]

Source
LinearGradient.scala
Linear Supertypes
Paint, SFXDelegate[javafx.scene.paint.LinearGradient], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LinearGradient
  2. Paint
  3. SFXDelegate
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LinearGradient(startX: Double = 0, startY: Double = 0, endX: Double = 1, endY: Double = 1, proportional: Boolean = true, cycleMethod: CycleMethod = CycleMethod.NoCycle, stops: Seq[javafx.scene.paint.Stop] = Nil)

    Permalink

    Creates a new instance of LinearGradient.

    Creates a new instance of LinearGradient.

    startX

    the X coordinate of the gradient axis start point. Default value = 0.0

    startY

    the Y coordinate of the gradient axis start point. Default value = 0.0

    endX

    the X coordinate of the gradient axis end point. Default value = 0.0

    endY

    the Y coordinate of the gradient axis end point. Default value = 0.0

    proportional

    whether the coordinates are proportional to the shape which this gradient fills. Default value = true

    cycleMethod

    cycle method applied to the gradient. Default value = scalafx.scene.paint.CycleMethod.NoCycle

    stops

    the gradient's color specification. Default value = scala.Nil

  2. new LinearGradient(delegate: javafx.scene.paint.LinearGradient)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def cycleMethod: javafx.scene.paint.CycleMethod

    Permalink

    Defines which of the following cycle method is applied to the LinearGradient: scalafx.scene.paint.CycleMethod.NoCycle, scalafx.scene.paint.CycleMethod.Reflect or scalafx.scene.paint.CycleMethod.Repeat.

  7. val delegate: javafx.scene.paint.LinearGradient

    Permalink

    JavaFX object to be wrapped.

    JavaFX object to be wrapped.

    Definition Classes
    LinearGradientPaintSFXDelegate
  8. def endX: Double

    Permalink

    Defines the X coordinate of the gradient axis end point.

  9. def endY: Double

    Permalink

    Defines the Y coordinate of the gradient axis end point.

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(ref: Any): Boolean

    Permalink

    Verifies if a object is equals to this delegate.

    Verifies if a object is equals to this delegate.

    ref

    Object to be compared.

    returns

    if the other object is equals to this delegate or not.

    Definition Classes
    SFXDelegate → AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink

    returns

    The delegate hashcode

    Definition Classes
    SFXDelegate → AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def proportional: Boolean

    Permalink

    Indicates whether start and end locations are proportional or absolute.

  20. def startX: Double

    Permalink

    Defines the X coordinate of the gradient axis start point.

  21. def startY: Double

    Permalink

    Defines the Y coordinate of the gradient axis start point.

  22. def stops: List[javafx.scene.paint.Stop]

    Permalink

    A sequence of 2 or more Stop values specifying how to distribute the colors along the gradient.

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink

    returns

    Returns the original delegate's toString() adding a [SFX] prefix.

    Definition Classes
    SFXDelegate → AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Paint

Inherited from SFXDelegate[javafx.scene.paint.LinearGradient]

Inherited from AnyRef

Inherited from Any

Ungrouped