org.graphstream.ui.util.swing

GradientFactory

object GradientFactory

Annotations
@deprecated
Deprecated

Use the ShapePaint class instead.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GradientFactory
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def createColors(style: Style): Array[Color]

    The array of colors in the fill-color property of the style.

    The array of colors in the fill-color property of the style.

    style

    The style to use.

    Attributes
    protected
  9. def createFractions(style: Style): Array[Float]

    An array of floats regularly spaced in range [0,1], the number of floats is given by the style fill-color count.

    An array of floats regularly spaced in range [0,1], the number of floats is given by the style fill-color count.

    style

    The style to use.

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

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

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

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

    Definition Classes
    AnyRef → Any
  14. def gradientInArea(x0: Int, y0: Int, width: Int, height: Int, style: Style): Paint

    Generate a gradient in the given pixel area following the given style.

    Generate a gradient in the given pixel area following the given style. This produces a gradient only if the style fill-mode is compatible.

    x0

    The left corner of the area.

    y0

    The bottom corner of the area.

    width

    The area width.

    height

    The area height.

    style

    The style.

    returns

    A gradient paint or null if the style does not specify a gradient.

  15. def hashCode(): Int

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

    Definition Classes
    Any
  17. def linearGradientFromStyle(x0: Double, y0: Double, x1: Double, y1: Double, style: Style): Paint

    Generate a linear gradient between two given points corresponding to the given style.

    Generate a linear gradient between two given points corresponding to the given style.

    x0

    The start point abscissa.

    y0

    The start point ordinate.

    x1

    The end point abscissa.

    y1

    The end point ordinate.

    style

    The style.

    returns

    A paint for the gradient or null if the style specifies no gradient (the fill mode is not a linear gradient or there is only one fill colour).

  18. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  21. def radialGradientFromStyle(cx: Double, cy: Double, radius: Double, fx: Double, fy: Double, style: Style): Paint

    Generate a radial gradient whose center is at (cx,cy) with the given radius.

    Generate a radial gradient whose center is at (cx,cy) with the given radius. The focus (fx,fy) is the start position of the gradient in the circle.

    cx

    The center point abscissa.

    cy

    The center point ordinate.

    radius

    The gradient radius.

    fx

    The start point abscissa.

    fy

    The start point ordinate.

    style

    The style.

    returns

    A paint for the gradient or null if the style specifies no gradient (the fill mode is not a radial gradient or there is only one fill colour).

  22. def radialGradientFromStyle(cx: Double, cy: Double, radius: Double, style: Style): Paint

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

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. val version: String

  26. var version16: Boolean

  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped