scalafx.scene.paint

LinearGradient

Related Docs: object LinearGradient | package paint

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 Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LinearGradient
  2. Paint
  3. SFXDelegate
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
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)

    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)

Value Members

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

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

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

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

    Definition Classes
    Any
  5. def clone(): AnyRef

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

    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

    JavaFX object to be wrapped.

    JavaFX object to be wrapped.

    Definition Classes
    LinearGradientPaintSFXDelegate
  8. def endX: Double

    Defines the X coordinate of the gradient axis end point.

  9. def endY: Double

    Defines the Y coordinate of the gradient axis end point.

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

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

    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

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

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

    returns

    The delegate hashcode

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

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

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

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

    Definition Classes
    AnyRef
  19. def proportional: Boolean

    Indicates whether start and end locations are proportional or absolute.

  20. def startX: Double

    Defines the X coordinate of the gradient axis start point.

  21. def startY: Double

    Defines the Y coordinate of the gradient axis start point.

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

    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

    Definition Classes
    AnyRef
  24. def toString(): String

    returns

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Paint

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

Inherited from AnyRef

Inherited from Any

Ungrouped