Partager via


RectangleAdorner Class

Definition

Rectangle Adorner.

public ref class RectangleAdorner : Microsoft::Maui::Graphics::IDrawable, Microsoft::Maui::IAdorner
public class RectangleAdorner : Microsoft.Maui.Graphics.IDrawable, Microsoft.Maui.IAdorner
type RectangleAdorner = class
    interface IAdorner
    interface IWindowOverlayElement
    interface IDrawable
Public Class RectangleAdorner
Implements IAdorner, IDrawable
Inheritance
RectangleAdorner
Derived
Implements

Constructors

RectangleAdorner(IView, Single, Nullable<Point>, Color, Color)

Initializes a new instance of the RectangleAdorner class.

Properties

Density

Gets the Density for the Adorner. Used to override the default density behavior for the containing border.

DrawnRectangle
FillColor
Offset
StrokeColor
VisualView

Gets the underlying IView that makes up the border.

Methods

Contains(Point)

Gets a boolean for if the given point contained within the window overlay element.

Draw(ICanvas, RectF)

Applies to