Liking cljdoc? Tell your friends :D

jdk.awt.MultipleGradientPaint

This is the superclass for Paints which use a multiple color gradient to fill in their raster. It provides storage for variables and enumerated values common to LinearGradientPaint and RadialGradientPaint.

This is the superclass for Paints which use a multiple color
gradient to fill in their raster.  It provides storage for variables and
enumerated values common to
LinearGradientPaint and RadialGradientPaint.
raw docstring

get-color-spaceclj

(get-color-space this)

Returns the enumerated type which specifies color space for interpolation.

returns: the enumerated type which specifies color space for interpolation - java.awt.MultipleGradientPaint$ColorSpaceType

Returns the enumerated type which specifies color space for
 interpolation.

returns: the enumerated type which specifies color space for
 interpolation - `java.awt.MultipleGradientPaint$ColorSpaceType`
raw docstring

get-colorsclj

(get-colors this)

Returns a copy of the array of colors used by this gradient. The first color maps to the first value in the fractions array, and the last color maps to the last value in the fractions array.

returns: a copy of the array of colors used by this gradient - java.awt.Color[]

Returns a copy of the array of colors used by this gradient.
 The first color maps to the first value in the fractions array,
 and the last color maps to the last value in the fractions array.

returns: a copy of the array of colors used by this gradient - `java.awt.Color[]`
raw docstring

get-cycle-methodclj

(get-cycle-method this)

Returns the enumerated type which specifies cycling behavior.

returns: the enumerated type which specifies cycling behavior - java.awt.MultipleGradientPaint$CycleMethod

Returns the enumerated type which specifies cycling behavior.

returns: the enumerated type which specifies cycling behavior - `java.awt.MultipleGradientPaint$CycleMethod`
raw docstring

get-fractionsclj

(get-fractions this)

Returns a copy of the array of floats used by this gradient to calculate color distribution. The returned array always has 0 as its first value and 1 as its last value, with increasing values in between.

returns: a copy of the array of floats used by this gradient to calculate color distribution - float[]

Returns a copy of the array of floats used by this gradient
 to calculate color distribution.
 The returned array always has 0 as its first value and 1 as its
 last value, with increasing values in between.

returns: a copy of the array of floats used by this gradient to
 calculate color distribution - `float[]`
raw docstring

get-transformclj

(get-transform this)

Returns a copy of the transform applied to the gradient.

Note that if no transform is applied to the gradient when it is created, the identity transform is used.

returns: a copy of the transform applied to the gradient - java.awt.geom.AffineTransform

Returns a copy of the transform applied to the gradient.


 Note that if no transform is applied to the gradient
 when it is created, the identity transform is used.

returns: a copy of the transform applied to the gradient - `java.awt.geom.AffineTransform`
raw docstring

get-transparencyclj

(get-transparency this)

Returns the transparency mode for this Paint object.

returns: OPAQUE if all colors used by this Paint object are opaque, TRANSLUCENT if at least one of the colors used by this Paint object is not opaque. - int

Returns the transparency mode for this Paint object.

returns: OPAQUE if all colors used by this
         Paint object are opaque,
         TRANSLUCENT if at least one of the
         colors used by this Paint object is not opaque. - `int`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close