Class SfShadowDrawer
Inheritance
System.Object
SfShadowDrawer
Implements
Microsoft.Maui.Graphics.IDrawable
Assembly: SampleBrowser.Maui.Base.dll
Syntax
public class SfShadowDrawer : Object, IDrawable
Constructors
SfShadowDrawer()
Declaration
Properties
BackgroundColor
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type |
Microsoft.Maui.Graphics.Color |
Blur
Declaration
public float Blur { get; set; }
Property Value
CornerRadius
Declaration
public double CornerRadius { get; set; }
Property Value
Offset
Declaration
public SizeF Offset { get; set; }
Property Value
Type |
Microsoft.Maui.Graphics.SizeF |
Opacity
Declaration
public float Opacity { get; set; }
Property Value
Padding
Declaration
public float Padding { get; set; }
Property Value
ShadowColor
Declaration
public Color ShadowColor { get; set; }
Property Value
Type |
Microsoft.Maui.Graphics.Color |
Methods
Draw(ICanvas, RectF)
Declaration
public void Draw(ICanvas canvas, RectF dirtyRect)
Parameters
Type |
Name |
Description |
Microsoft.Maui.Graphics.ICanvas |
canvas |
|
Microsoft.Maui.Graphics.RectF |
dirtyRect |
|
DrawShadow(ICanvas, RectF)
Declaration
protected virtual void DrawShadow(ICanvas canvas, RectF dirtyRect)
Parameters
Type |
Name |
Description |
Microsoft.Maui.Graphics.ICanvas |
canvas |
|
Microsoft.Maui.Graphics.RectF |
dirtyRect |
|
Implements
Microsoft.Maui.Graphics.IDrawable