open class FakePanelEntity : FakeEntity

Known direct subclasses
FakeActivityPanelEntity

Test-only implementation of ActivityPanelEntity


Test-only implementation of PanelEntity

Summary

Public constructors

Public properties

open Float

Sets a corner radius on all four corners of this PanelEntity.

open Vector3

Gets the number of pixels per meter for this panel.

open Dimensions

Returns the spatial size of this Panel in meters.

open PixelDimensions

Sets the pixel (not Dp) dimensions of the view underlying this PanelEntity.

Public constructors

FakePanelEntity

Added in 1.0.0-alpha04
FakePanelEntity()

Public properties

cornerRadius

Added in 1.0.0-alpha04
open var cornerRadiusFloat

Sets a corner radius on all four corners of this PanelEntity.

pixelDensity

Added in 1.0.0-alpha04
open val pixelDensityVector3

Gets the number of pixels per meter for this panel. This value reflects changes to scale, including parent scale.

This method will be removed in a future release.

Returns
Vector3

Vector3 scale applied to pixels within the Panel. (Z will be 0)

size

Added in 1.0.0-alpha04
open var sizeDimensions

Returns the spatial size of this Panel in meters. This includes any scaling applied to this panel by itself or its parents, which might be set via changes to setScale.

Returns
Dimensions

Dimensions size of this panel in meters. (Z will be 0)

sizeInPixels

Added in 1.0.0-alpha04
open var sizeInPixelsPixelDimensions

Sets the pixel (not Dp) dimensions of the view underlying this PanelEntity. Calling this might cause the layout of the Panel contents to change. Updating this will not cause the scale or pixel density to change.