Lines Matching defs:paint
153 * Returns the paint used to draw this NinePatch. The paint can be null.
164 * Sets the paint to use when drawing the NinePatch.
166 * @param p The paint that will be used to draw this NinePatch.
184 * Draws the NinePatch. This method will use the paint returned by {@link #getPaint()}.
194 * Draws the NinePatch. This method will use the paint returned by {@link #getPaint()}.
204 * Draws the NinePatch. This method will ignore the paint returned
205 * by {@link #getPaint()} and use the specified paint instead.
209 * @param paint The Paint to draw through.
211 public void draw(Canvas canvas, Rect location, Paint paint) {
212 canvas.drawPatch(this, location, paint);