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
double StrokeThickness WASM, Skia, Mobile
DoubleCollection StrokeDashArray WASM, Skia, Mobile
Brush Stroke WASM, Skia, Mobile
Stretch Stretch WASM, Skia, Mobile
Brush Fill WASM, Skia, Mobile
DependencyProperty FillProperty WASM, Skia, Mobile
DependencyProperty StretchProperty WASM, Skia, Mobile
DependencyProperty StrokeDashArrayProperty WASM, Skia, Mobile
DependencyProperty StrokeProperty WASM, Skia, Mobile
DependencyProperty StrokeThicknessProperty WASM, Skia, Mobile

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

Not implemented properties

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

Not implemented methods

Method Not supported on
CompositionBrush GetAlphaMask() all platforms supported by Uno Platform

Last updated Monday, 14 April 2025 02:07.