Class SKConfettiRectShape
A confetti shape that draws a rectangle with a configurable height ratio.
public class SKConfettiRectShape : SKConfettiShape, INotifyPropertyChanged
- Inheritance
-
SKConfettiRectShape
- Implements
- Inherited Members
Constructors
- SKConfettiRectShape()
Initializes a new instance of the SKConfettiRectShape class.
- SKConfettiRectShape(double)
Initializes a new instance of the SKConfettiRectShape class with the specified height ratio.
Fields
- HeightRatioProperty
Identifies the HeightRatio bindable property.
Properties
- HeightRatio
Gets or sets the ratio of height to width, clamped between 0 and 1.
Methods
- OnDraw(SKCanvas, SKPaint, float)
When overridden in a derived class, draws the shape on the specified canvas.