Geen cache-versie.


Caching uitgeschakeld. Standaardinstelling voor deze pagina:ingeschakeld (code LNG204)
Als het scherm te langzaam is, kunt u de gebruikersmodus uitschakelen om de cacheversie te bekijken.
java.awt

Class MultipleGradientPaint

  • All Implemented Interfaces:
    Paint, Transparency
    Direct Known Subclasses:
    LinearGradientPaint, RadialGradientPaint

    public abstract class MultipleGradientPaint
    extends Object
    implements Paint
    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.
    Since:
    1.6
    • Method Detail

      • getFractions

        public final float[] getFractions()
        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
      • getColors

        public final Color[] getColors()
        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
      • getCycleMethod

        public final MultipleGradientPaint.CycleMethod getCycleMethod()
        Returns the enumerated type which specifies cycling behavior.
        Returns:
        the enumerated type which specifies cycling behavior
      • getColorSpace

        public final MultipleGradientPaint.ColorSpaceType getColorSpace()
        Returns the enumerated type which specifies color space for interpolation.
        Returns:
        the enumerated type which specifies color space for interpolation
      • getTransform

        public final AffineTransform getTransform()
        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
      • getTransparency

        public final int getTransparency()
        Returns the transparency mode for this Paint object.
        Specified by:
        getTransparency in interface Transparency
        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.
        See Also:
        Transparency

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-java/awt/multiplegradientpaint.html/.html/.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.

Inhoudsopgave Haut