public class SrvDraw extends ASrvDraw<CanvasWithPaint,SettingsDraw,android.graphics.Bitmap>
controlString| Constructor and Description |
|---|
SrvDraw(SettingsGraphic sg) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawCircle(CanvasWithPaint itd,
SettingsDraw ds,
double realX,
double realY,
double radius,
boolean isFill) |
void |
drawEllipse(CanvasWithPaint itd,
SettingsDraw ds,
double x,
double y,
double width,
double height,
boolean isFill) |
void |
DrawImage(CanvasWithPaint itd,
SettingsDraw ds,
android.graphics.Bitmap img,
int screenX,
int screenY) |
void |
drawLine(CanvasWithPaint itd,
SettingsDraw ds,
double x1,
double y1,
double x2,
double y2) |
void |
drawPath(CanvasWithPaint itd,
SettingsDraw ds,
double[] setX,
double[] setY,
int pointsCount,
boolean isClose,
boolean isFill) |
void |
drawRectangle(CanvasWithPaint itd,
SettingsDraw ds,
double x1,
double y1,
double w,
double h,
boolean isFill) |
void |
drawRectangleRound(CanvasWithPaint itd,
SettingsDraw ds,
double x1,
double y1,
double w,
double h,
double arcw,
double arch,
boolean isFill) |
void |
drawString(CanvasWithPaint itd,
SettingsDraw ds,
String string,
double x,
double y) |
void |
drawString(CanvasWithPaint itd,
SettingsDraw ds,
String string,
int screenX,
int screenY) |
protected void |
evalFontSizeAndZoom(CanvasWithPaint itd,
SettingsDraw ds) |
int |
evalLengtStringInPixel(CanvasWithPaint itd,
SettingsDraw ds,
String str) |
android.app.Application |
getApplication() |
Float |
getWidthLineDefault(CanvasWithPaint itd) |
void |
makeFontSize(CanvasWithPaint itd,
Float size) |
void |
prepareFont(CanvasWithPaint itd,
SettingsDraw ds,
SettingsFont sf) |
void |
preparePaint(CanvasWithPaint itd,
SettingsDraw drawSettings) |
void |
setApplication(android.app.Application application) |
void |
setDashPathEffect(android.graphics.DashPathEffect dashPathEffect) |
void |
setWidthLineDefault(Float widthLineDefault) |
evalLengthOfString, evalWidthHeightMultistring, getFontSize, getFontSizeDefault, getFontSizeMax, getFontSizeMin, getLengthControlStringFontDefault, getSettingsGraphic, printMultistring, printStringInBox, setFontSize, setFontSizeDefault, setFontSizeMax, setFontSizeMin, setLengthControlStringFontDefaultpublic SrvDraw(SettingsGraphic sg)
public void DrawImage(CanvasWithPaint itd, SettingsDraw ds, android.graphics.Bitmap img, int screenX, int screenY)
public void drawCircle(CanvasWithPaint itd, SettingsDraw ds, double realX, double realY, double radius, boolean isFill)
public void drawEllipse(CanvasWithPaint itd, SettingsDraw ds, double x, double y, double width, double height, boolean isFill)
public void drawLine(CanvasWithPaint itd, SettingsDraw ds, double x1, double y1, double x2, double y2)
public void drawPath(CanvasWithPaint itd, SettingsDraw ds, double[] setX, double[] setY, int pointsCount, boolean isClose, boolean isFill)
public Float getWidthLineDefault(CanvasWithPaint itd)
public void setWidthLineDefault(Float widthLineDefault)
public void drawRectangle(CanvasWithPaint itd, SettingsDraw ds, double x1, double y1, double w, double h, boolean isFill)
public void drawRectangleRound(CanvasWithPaint itd, SettingsDraw ds, double x1, double y1, double w, double h, double arcw, double arch, boolean isFill)
public void drawString(CanvasWithPaint itd, SettingsDraw ds, String string, double x, double y)
public void drawString(CanvasWithPaint itd, SettingsDraw ds, String string, int screenX, int screenY)
public int evalLengtStringInPixel(CanvasWithPaint itd, SettingsDraw ds, String str)
public void prepareFont(CanvasWithPaint itd, SettingsDraw ds, SettingsFont sf)
public void makeFontSize(CanvasWithPaint itd, Float size)
public void preparePaint(CanvasWithPaint itd, SettingsDraw drawSettings)
protected void evalFontSizeAndZoom(CanvasWithPaint itd, SettingsDraw ds)
public void setDashPathEffect(android.graphics.DashPathEffect dashPathEffect)
public android.app.Application getApplication()
public void setApplication(android.app.Application application)
Copyright © 2016–2018 Beigesoft ™. All rights reserved.