Lines Matching defs:clip
49 * yet when setting transforms and clip information.
69 /** temp clip in case clipping is set before a Graphics2D exists */
176 * Sets the clip for the graphics2D object associated with the layer.
179 * @param clipShape the shape to use a the clip shape.
183 // first reset the clip to max and then intersect the current (empty)
184 // clip with the shap.
186 mGraphics.clip(clipShape);
191 * clip shape and the given shape.
192 * @param shape the new clip shape.
194 public void clip(Shape shape) {
195 mGraphics.clip(shape);
203 * called before the snapshot can be used to draw. Transform and clip operations are permitted
280 // only if the new layer doesn't clip drawing to itself.
309 // because this layer inherits the current context for transform and clip,
317 // set the clip on it.
392 * If any transform or clip information was set before, they are put into the Graphics object.
400 // Set the current transform and clip which can either come from mTransform/mClip if they
482 public boolean clip(Shape shape, int regionOp) {
488 layer.clip(shape);
526 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp);
530 * Returns the current clip, or null if none have been setup.
534 // they all have the same clip
649 // didn't save the clip? set the current clip on the previous snapshot
651 Shape clip = getClip();
653 layer.setClip(clip);