Klasse Context

Alle implementierten Schnittstellen:
PointerInterface

public class Context extends Record
  • Konstruktordetails

  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • save

      public void save()
    • restore

      public void restore()
    • rotate

      public void rotate(double angle)
      Parameter:
      angle -
    • paint

      public void paint()
    • paintWithAlpha

      public void paintWithAlpha(double alpha)
      Parameter:
      alpha -
    • setSourceSurface

      public void setSourceSurface(@Nonnull Surface surface, double x, double y)
      Parameter:
      surface -
      x -
      y -
    • setSource

      public void setSource(@Nonnull Pattern source)
      Parameter:
      source -
    • closePath

      public void closePath()
    • setOperator

      public void setOperator(int operator)
      Parameter:
      operator -
    • setLineWidth

      public void setLineWidth(double width)
      Parameter:
      width -
    • setAntialias

      public void setAntialias(int antialias)
      Parameter:
      antialias -
    • moveTo

      public void moveTo(double x, double y)
      Parameter:
      x -
      y -
    • selectFontFace

      public void selectFontFace(@Nonnull Str utf8, int style, int weight)
      Parameter:
      utf8 -
      style -
      weight -
    • selectFontFace

      public void selectFontFace(String utf8, int style, int weight)
      Parameter:
      utf8 -
      style -
      weight -
    • setFontSize

      public void setFontSize(double size)
      Parameter:
      size -
    • lineTo

      public void lineTo(double x, double y)
      Parameter:
      x -
      y -
    • arc

      public void arc(double xc, double yc, double radius, double angle1, double angle2)
      Parameter:
      xc -
      yc -
      radius -
      angle1 -
      angle2 -
    • setFillRule

      public void setFillRule(int fill_rule)
      Parameter:
      fill_rule -
    • curveTo

      public void curveTo(double x1, double y1, double x2, double y2, double x3, double y3)
      Parameter:
      x1 -
      y1 -
      x2 -
      y2 -
      x3 -
      y3 -
    • stroke

      public void stroke()
    • fill

      public void fill()
    • fillPreserve

      public void fillPreserve()
    • rectangle

      public void rectangle(double x, double y, double width, double height)
      Parameter:
      x -
      y -
      width -
      height -
    • setDash

      public void setDash(@Nonnull Dbl dashes, int num_dashes, double offset)
      Parameter:
      dashes -
      num_dashes -
      offset -
    • setLineCap

      public void setLineCap(int line_cap)
      Parameter:
      line_cap -
    • setLineJoin

      public void setLineJoin(int line_join)
      Parameter:
      line_join -
    • setSourceRgba

      public void setSourceRgba(double red, double green, double blue, double alpha)
      Parameter:
      red -
      green -
      blue -
      alpha -
    • setSourceRgb

      public void setSourceRgb(double red, double green, double blue)
      Parameter:
      red -
      green -
      blue -
    • destroy

      public void destroy()
      Beschreibung aus Klasse kopiert: Record
      Frees resources. Free memory allocated for this record. Object is invalid afterwards and should not be accessed.
      Setzt außer Kraft:
      destroy in Klasse Record
    • resetClip

      public void resetClip()
    • clip

      public void clip()
    • newPath

      public void newPath()
    • setMatrix

      public void setMatrix(@Nonnull Matrix matrix)
      Parameter:
      matrix -
    • transform

      public void transform(@Nonnull Matrix matrix)
      Parameter:
      matrix -
    • identityMatrix

      public void identityMatrix()
    • showText

      public void showText(@Nonnull Str utf8)
      Parameter:
      utf8 -
    • showText

      public void showText(String utf8)
      Parameter:
      utf8 -
    • getSource

      public Pattern getSource()
      Gibt zurück:
    • getCurrentPoint

      public void getCurrentPoint(@Nonnull Dbl x, @Nonnull Dbl y)
      Parameter:
      x -
      y -
    • translate

      public void translate(double x, double y)
      Parameter:
      x -
      y -
    • scale

      public void scale(double x, double y)
      Parameter:
      x -
      y -
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()