Package org.oscim.backend.canvas
Interface Paint
public interface Paint
The Interface Paint.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumstatic enumstatic enumstatic enumstatic enumstatic enum -
Method Summary
Modifier and TypeMethodDescriptionintgetColor()floatfloatfloatgetStyle()floatgetTextHeight(String text) floatgetTextWidth(String text) floatmeasureText(String text) voidsetColor(int color) voidsetStrokeCap(Paint.Cap cap) voidsetStrokeJoin(Paint.Join join) voidsetStrokeWidth(float width) voidsetStyle(Paint.Style style) voidsetTextAlign(Paint.Align align) voidsetTextSize(float textSize) voidsetTypeface(Paint.FontFamily fontFamily, Paint.FontStyle fontStyle)
-
Method Details
-
getColor
int getColor() -
setColor
void setColor(int color) -
setStrokeCap
-
setStrokeJoin
-
setStrokeWidth
void setStrokeWidth(float width) -
setStyle
-
setTextAlign
-
setTextSize
void setTextSize(float textSize) -
setTypeface
-
measureText
-
getFontHeight
float getFontHeight() -
getFontDescent
float getFontDescent() -
getStrokeWidth
float getStrokeWidth() -
getStyle
Paint.Style getStyle() -
getTextHeight
-
getTextWidth
-