Package org.robolectric.shadows
Class ShadowRegion
java.lang.Object
org.robolectric.shadows.ShadowRegion
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected void__constructor__(int left, int top, int right, int bottom) protected voidprotected void__constructor__(Region src) protected booleancontains(int x, int y) booleanThe realRegion.equals(Object)calls into native code, which is a no-op in Robolectric.protected Pathprotected Rectprotected booleanprotected booleanisEmpty()protected booleanisRect()protected static longprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanquickContains(int left, int top, int right, int bottom) protected booleanquickReject(int left, int top, int right, int bottom) protected booleanquickReject(Rect r) protected booleanprotected booleanset(int left, int top, int right, int bottom) protected booleanprotected booleanprotected voidsetEmpty()protected booleanprotected voidtranslate(int dx, int dy) protected void
-
Field Details
-
nextId
public static long nextId
-
-
Constructor Details
-
ShadowRegion
public ShadowRegion()
-
-
Method Details
-
__constructor__
-
__constructor__
-
__constructor__
-
__constructor__
-
equals
The realRegion.equals(Object)calls into native code, which is a no-op in Robolectric. -
nativeConstructor
-
isEmpty
-
getBounds
-
getBounds
-
getBoundaryPath
-
setEmpty
-
set
-
set
-
set
-
setPath
-
isRect
-
contains
-
quickContains
-
quickReject
-
quickReject
-
quickReject
-
op
-
op
-
op
-
op
-
translate
-
translate
-