Skip to content

Latest commit

 

History

History
49 lines (25 loc) · 1.96 KB

File metadata and controls

49 lines (25 loc) · 1.96 KB

MaterialElevation

Elevation is the distance between two surfaces on the z-axis see here.

Namespace: HorusStudio.Maui.MaterialDesignControls


Properties

Level1

Property type: Shadow

Default value:
Brush = Material.Shadow
Radius = Android: 5 / MacOS,Windows,iOS: 1.5f
Opacity = Android: 0.3f / MacOS,Windows,iOS: 0.35f
Offset = Android: new Point(-0.5, 2) / MacOS,Windows,iOS: new Point(0, 1.5)


Level2

Property type: Shadow

Default value:
Brush = Material.Shadow
Radius = Android: 7 / MacOS,Windows,iOS: 1.8f
Opacity = Android: 0.35f / MacOS,Windows,iOS: 0.38f
Offset = Android: new Point(-1, 2.5) / MacOS,Windows,iOS: new Point(0, 2)


Level3

Property type: Shadow

Default value:
Brush = Material.Shadow
Radius = Android: 10 / MacOS,Windows,iOS: 2.4f
Opacity = Android: 0.4f / MacOS,Windows,iOS: 0.38f
Offset = Android: new Point(-1.5, 4) / MacOS,Windows,iOS: new Point(0, 2.4)


Level4

Property type: Shadow

Default value:
Brush = Material.Shadow
Radius = Android: 12 / MacOS,Windows,iOS: 2.8f
Opacity = Android: 0.45f / MacOS,Windows,iOS: 0.4f
Offset = Android: new Point(-2.5, 4.5) / MacOS,Windows,iOS: new Point(0, 2.6)


Level5

Property type: Shadow

Default value:
Brush = Material.Shadow
Radius = Android: 16 / MacOS,Windows,iOS: 3.4f
Opacity = Android: 0.5f / MacOS,Windows,iOS: 0.45f
Offset = Android: new Point(-3.5, 5) / MacOS,Windows,iOS: new Point(0, 3)