alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class SfShadowDrawer

    Inheritance
    System.Object
    SfShadowDrawer
    SfNeumorphismDrawer
    Implements
    Microsoft.Maui.Graphics.IDrawable
    Namespace: SampleBrowser.Maui.Base.CustomView
    Assembly: SampleBrowser.Maui.Base.dll
    Syntax
    public class SfShadowDrawer : Object, IDrawable

    Constructors

    SfShadowDrawer()

    Declaration
    public SfShadowDrawer()

    Properties

    BackgroundColor

    Declaration
    public Color BackgroundColor { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.Color

    Blur

    Declaration
    public float Blur { get; set; }
    Property Value
    Type
    System.Single

    CornerRadius

    Declaration
    public double CornerRadius { get; set; }
    Property Value
    Type
    System.Double

    Offset

    Declaration
    public SizeF Offset { get; set; }
    Property Value
    Type
    Microsoft.Maui.Graphics.SizeF

    Opacity

    Declaration
    public float Opacity { get; set; }
    Property Value
    Type
    System.Single

    Padding

    Declaration
    public float Padding { get; set; }
    Property Value
    Type
    System.Single

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved