Class OverlayManagerBackgroundTriangle
- Namespace
- VisioForge.Core.Types.X.VideoEffects
- Assembly
- VisioForge.Core.dll
Represents a triangular background for the overlay manager defined by three points. Implements the VisioForge.Core.Types.X.VideoEffects.IOverlayManagerBackground
public class OverlayManagerBackgroundTriangle : IOverlayManagerBackgroundInheritance
Implements
Inherited Members
Constructors
OverlayManagerBackgroundTriangle()
Initializes a new instance of the VisioForge.Core.Types.X.VideoEffects.OverlayManagerBackgroundTriangle class with three points at the origin. This is the constructor System.Text.Json binds, the three-point one below takes arguments matching no property.
public OverlayManagerBackgroundTriangle()OverlayManagerBackgroundTriangle(SKPoint, SKPoint, SKPoint)
Initializes a new instance of the VisioForge.Core.Types.X.VideoEffects.OverlayManagerBackgroundTriangle class.
public OverlayManagerBackgroundTriangle(SKPoint p1, SKPoint p2, SKPoint p3)Parameters
p1SKPoint-
The first point of the triangle.
p2SKPoint-
The second point of the triangle.
p3SKPoint-
The third point of the triangle.
Properties
Color
Gets or sets the color.
public SKColor Color { get; set; }Property Value
Points
Gets the points.
[JsonInclude]
public SKPoint[] Points { get; }Property Value
- SKPoint[]
Remarks
[JsonInclude] because the setter is non-public: with IgnoreReadOnlyProperties on, the points would otherwise be dropped from a document and restored as three zeroes.