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.
javax.swing.plaf.basic

Class BasicGraphicsUtils


  • public class BasicGraphicsUtils
    extends Object
    • Constructor Detail

      • BasicGraphicsUtils

        public BasicGraphicsUtils()
    • Method Detail

      • drawEtchedRect

        public static void drawEtchedRect(Graphics g,
                          int x,
                          int y,
                          int w,
                          int h,
                          Color shadow,
                          Color darkShadow,
                          Color highlight,
                          Color lightHighlight)
      • getEtchedInsets

        public static Insets getEtchedInsets()
        Returns the amount of space taken up by a border drawn by drawEtchedRect()
        Returns:
        the inset of an etched rect
      • drawGroove

        public static void drawGroove(Graphics g,
                      int x,
                      int y,
                      int w,
                      int h,
                      Color shadow,
                      Color highlight)
      • getGrooveInsets

        public static Insets getGrooveInsets()
        Returns the amount of space taken up by a border drawn by drawGroove()
        Returns:
        the inset of a groove border
      • drawBezel

        public static void drawBezel(Graphics g,
                     int x,
                     int y,
                     int w,
                     int h,
                     boolean isPressed,
                     boolean isDefault,
                     Color shadow,
                     Color darkShadow,
                     Color highlight,
                     Color lightHighlight)
      • drawLoweredBezel

        public static void drawLoweredBezel(Graphics g,
                            int x,
                            int y,
                            int w,
                            int h,
                            Color shadow,
                            Color darkShadow,
                            Color highlight,
                            Color lightHighlight)
      • drawString

        public static void drawString(Graphics g,
                      String text,
                      int underlinedChar,
                      int x,
                      int y)
        Draw a string with the graphics g at location (x,y) just like g.drawString would. The first occurrence of underlineChar in text will be underlined. The matching algorithm is not case sensitive.
      • drawStringUnderlineCharAt

        public static void drawStringUnderlineCharAt(Graphics g,
                                     String text,
                                     int underlinedIndex,
                                     int x,
                                     int y)
        Draw a string with the graphics g at location (x, y) just like g.drawString would. The character at index underlinedIndex in text will be underlined. If index is beyond the bounds of text (including < 0), nothing will be underlined.
        Parameters:
        g - Graphics to draw with
        text - String to draw
        underlinedIndex - Index of character in text to underline
        x - x coordinate to draw at
        y - y coordinate to draw at
        Since:
        1.4
      • drawDashedRect

        public static void drawDashedRect(Graphics g,
                          int x,
                          int y,
                          int width,
                          int height)

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-javax/swing/plaf/basic/basicgraphicsutils.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