SurfaceDepth
public final class SurfaceDepth
Represents the Depth used by a surface in different states.
Focused surfaces with a focusedDepth will have a higher zIndex set so they can draw their focused depth over siblings.
Summary
Public constructors |
|---|
SurfaceDepth(Depth depth, Depth focusedDepth) |
Public methods |
|
|---|---|
boolean |
|
final Depth |
getDepth()the |
final Depth |
|
int |
hashCode() |
Public constructors
Public methods
getDepth
Added in 1.0.0-alpha01
public final Depth getDepth()
the Depth used when the surface is in its default state (no other interactions are ongoing)