Lines Matching defs:height
142 public Path toPath(int width, int height, int edge, int numSample) {
143 return toPath(null, width, height, edge, numSample);
146 public Path toPath(Path path, int width, int height, int edge, int numSample) {
153 path.addPath(strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample));
179 * @param height height of the target bitmap
185 public Bitmap toBitmap(int width, int height, int edge, int numSample, int color) {
186 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
204 Path path = strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample);
215 * @param height
220 public Bitmap toBitmap(int width, int height, int inset, int color) {
221 final Bitmap bitmap = Bitmap.createBitmap(width, height,
239 final float sy = (height - 2 * inset) / bounds.height();
244 -bounds.top + (height - bounds.height() * scale) / 2.0f);