Annotation Interface Canvas.SrcRectConstraint

Enclosing class:
Canvas

@Retention(SOURCE) public static @interface Canvas.SrcRectConstraint
The SrcRectConstraint controls the behavior at the edge of source rect, provided to drawImageRect() when there is any filtering. If STRICT is set, then extra code is used to ensure it never samples outside the src-rect. Canvas.SRC_RECT_CONSTRAINT_STRICT disables the use of mipmaps and anisotropic filtering.