Interface Paint


public interface Paint
The Interface Paint.
  • Method Details

    • getColor

      int getColor()
    • setColor

      void setColor(int color)
    • setStrokeCap

      void setStrokeCap(Paint.Cap cap)
    • setStrokeJoin

      void setStrokeJoin(Paint.Join join)
    • setStrokeWidth

      void setStrokeWidth(float width)
    • setStyle

      void setStyle(Paint.Style style)
    • setTextAlign

      void setTextAlign(Paint.Align align)
    • setTextSize

      void setTextSize(float textSize)
    • setTypeface

      void setTypeface(Paint.FontFamily fontFamily, Paint.FontStyle fontStyle)
    • measureText

      float measureText(String text)
    • getFontHeight

      float getFontHeight()
    • getFontDescent

      float getFontDescent()
    • getStrokeWidth

      float getStrokeWidth()
    • getStyle

      Paint.Style getStyle()
    • getTextHeight

      float getTextHeight(String text)
    • getTextWidth

      float getTextWidth(String text)