RadialGradient

scalafx.scene.paint.RadialGradient
See theRadialGradient companion object
class RadialGradient(val delegate: RadialGradient) extends Paint, SFXDelegate[RadialGradient]

Attributes

Companion
object
Graph
Supertypes
class Paint
trait SFXDelegate[RadialGradient]
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(focusAngle: Double, focusDistance: Double, centerX: Double, centerY: Double, radius: Double, proportional: Boolean, cycleMethod: CycleMethod, stops: Seq[Stop])

Concrete methods

Defines the X coordinate of the center point of the circle defining the gradient.

Defines the X coordinate of the center point of the circle defining the gradient.

Attributes

Defines the Y coordinate of the center point of the circle defining the gradient.

Defines the Y coordinate of the center point of the circle defining the gradient.

Attributes

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

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

Attributes

Defines the angle in degrees from the center of the gradient to the focus point to which the first color is mapped.

Defines the angle in degrees from the center of the gradient to the focus point to which the first color is mapped.

Attributes

Defines the distance from the center of the gradient to the focus point to which the first color is mapped.

Defines the distance from the center of the gradient to the focus point to which the first color is mapped.

Attributes

Indicates whether the center and radius values are proportional or absolute.

Indicates whether the center and radius values are proportional or absolute.

Attributes

def radius: Double

Specifies the radius of the circle defining the extents of the color gradient.

Specifies the radius of the circle defining the extents of the color gradient.

Attributes

def stops: List[Stop]

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

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

Attributes

Inherited methods

override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value parameters

ref

Object to be compared.

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def toString: String

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

Concrete fields

override val delegate: RadialGradient

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes