Schnittstelle RendererClass.OnDrawRectangle

Umschließende Klasse:
RendererClass
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface RendererClass.OnDrawRectangle
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    onDrawRectangle(CallbackHandler __self, Renderer renderer, int part, int x, int y, int width, int height)
     
  • Methodendetails

    • onDrawRectangle

      void onDrawRectangle(CallbackHandler __self, @Nonnull Renderer renderer, int part, int x, int y, int width, int height)
      Parameter:
      renderer - a `PangoRenderer`
      part - type of object this rectangle is part of
      x - X position at which to draw rectangle, in user space coordinates in Pango units
      y - Y position at which to draw rectangle, in user space coordinates in Pango units
      width - width of rectangle in Pango units
      height - height of rectangle in Pango units