Lines Matching refs:draw
21 <li><a href="#draw">Draw!</a></li>
47 android.graphics.Canvas Canvas} object that the view can use to draw itself. The {@link
63 <li><i>What</i> to draw, handled by {@link android.graphics.Canvas Canvas}</li>
64 <li><i>How</i> to draw, handled by {@link android.graphics.Paint}.</li>
67 <p>For instance, {@link android.graphics.Canvas Canvas} provides a method to draw a line, while
71 method to draw a rectangle, while {@link android.graphics.Paint Paint} defines whether to fill that
74 can draw on the
77 draw.</p>
79 <p>So, before you draw anything, you need to create one or more {@link android.graphics.Paint Paint}
115 <p>In order to properly draw your custom view, you need to know what size it is. Complex custom
135 android.view.View#onSizeChanged onSizeChanged()}, instead of recalculating them every time you draw.
217 <h2 id="draw">Draw!</h2>
241 android.graphics.Path} object, then draw the shape using {@link