共用方式為


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)

矩形裝飾項。

適用於