Shape : FrameworkElement

Implemented for: WASM, Skia, Mobile

This document lists all properties, methods, and events of Shape that are currently implemented by the Uno Platform. See the WinUI documentation for detailed usage guidelines which all automatically apply to Uno Platform.

To better understand how Shape works, you can use the Uno Gallery.

Implemented properties

Property Supported on
DependencyProperty FillProperty WASM, Skia, Mobile
DependencyProperty StretchProperty WASM, Skia, Mobile
DependencyProperty StrokeDashArrayProperty WASM, Skia, Mobile
DependencyProperty StrokeDashCapProperty WASM, Skia, Mobile
DependencyProperty StrokeDashOffsetProperty WASM, Skia, Mobile
DependencyProperty StrokeEndLineCapProperty WASM, Skia, Mobile
DependencyProperty StrokeLineJoinProperty WASM, Skia, Mobile
DependencyProperty StrokeMiterLimitProperty WASM, Skia, Mobile
DependencyProperty StrokeProperty WASM, Skia, Mobile
DependencyProperty StrokeStartLineCapProperty WASM, Skia, Mobile
DependencyProperty StrokeThicknessProperty WASM, Skia, Mobile
Brush Fill WASM, Skia, Mobile
Stretch Stretch WASM, Skia, Mobile
Brush Stroke WASM, Skia, Mobile
DoubleCollection StrokeDashArray WASM, Skia, Mobile
double StrokeDashOffset WASM, Skia, Mobile
double StrokeMiterLimit WASM, Skia, Mobile
double StrokeThickness WASM, Skia, Mobile

Implemented methods

Method Supported on
CompositionBrush GetAlphaMask() Skia

Below are all properties, methods, and events of Shape that are not currently implemented in Uno.

Not implemented properties

Property Not supported on
DependencyProperty FillProperty MacOS
DependencyProperty StretchProperty MacOS
DependencyProperty StrokeDashArrayProperty MacOS
DependencyProperty StrokeDashCapProperty MacOS
DependencyProperty StrokeDashOffsetProperty MacOS
DependencyProperty StrokeEndLineCapProperty MacOS
DependencyProperty StrokeLineJoinProperty MacOS
DependencyProperty StrokeMiterLimitProperty MacOS
DependencyProperty StrokeProperty MacOS
DependencyProperty StrokeStartLineCapProperty MacOS
DependencyProperty StrokeThicknessProperty MacOS
bool HasUnwrappableNativeObject all platforms supported by Uno Platform
IObjectReference NativeObject all platforms supported by Uno Platform
Brush Fill MacOS
Transform GeometryTransform all platforms supported by Uno Platform
Stretch Stretch MacOS
Brush Stroke MacOS
DoubleCollection StrokeDashArray MacOS
PenLineCap StrokeDashCap all platforms supported by Uno Platform
double StrokeDashOffset MacOS
PenLineCap StrokeEndLineCap all platforms supported by Uno Platform
PenLineJoin StrokeLineJoin all platforms supported by Uno Platform
double StrokeMiterLimit MacOS
PenLineCap StrokeStartLineCap all platforms supported by Uno Platform
double StrokeThickness MacOS

Not implemented methods

Method Not supported on
I As() all platforms supported by Uno Platform
Shape FromAbi(nint) all platforms supported by Uno Platform
bool Equals(Shape) all platforms supported by Uno Platform
bool Equals(object) all platforms supported by Uno Platform
int GetHashCode() all platforms supported by Uno Platform
CompositionBrush GetAlphaMask() WASM, Xamarin
bool IsOverridableInterface(Guid) all platforms supported by Uno Platform

Last updated Thursday, 16 July 2026 23:16.