RectangleAdorner 类

定义

矩形装饰器。

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
继承
RectangleAdorner
派生
实现

构造函数

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

初始化 RectangleAdorner 类的新实例。

属性

Density

获取装饰器的密度。 用于替代包含边框的默认密度行为。

DrawnRectangle

矩形装饰器。

FillColor

矩形装饰器。

Offset

矩形装饰器。

StrokeColor

矩形装饰器。

VisualView

获取构成边框的基础 IView

方法

Contains(Point)

获取一个布尔值,指示窗口覆盖元素中包含的给定点。

Draw(ICanvas, RectF)

矩形装饰器。

适用于