MCPcopy Create free account
hub / github.com/HumbleUI/Skija / getBaseProps

Method getBaseProps

shared/java/Canvas.java:63–72  ·  view source on GitHub ↗

Returns the SurfaceProps associated with the canvas (i.e., at the base of the layer stack). @return SurfaceProps

()

Source from the content-addressed store, hash-verified

61 * @return SurfaceProps
62 */
63 @NotNull
64 public SurfaceProps getBaseProps() {
65 try {
66 assert _ptr != 0 : "Canvas is closed";
67 Stats.onNativeCall();
68 return _nGetBaseProps(_ptr);
69 } finally {
70 ReferenceUtil.reachabilityFence(this);
71 }
72 }
73
74 /**
75 * Returns the SurfaceProps associated with the canvas that are currently active (i.e., at

Callers 3

drawMethod · 0.80
drawMethod · 0.80

Calls 3

onNativeCallMethod · 0.95
_nGetBasePropsMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by

no test coverage detected