Class Diamond
This class represents the Diamond shape within a slide.
public class Diamond
- Inheritance
-
Diamond
- Inherited Members
Constructors
Diamond()
Constructor of the Diamond class initializes the object of DiamondShapeFacade and populates its fields.
public Diamond()
Properties
Animation
Property to set animation
public AnimationType Animation { get; set; }
Property Value
BackgroundColor
Property to set or get background color of a Diamond shape.
public string BackgroundColor { get; set; }
Property Value
Facade
Property to get or set the DiamondShapeFacade.
public DiamondShapeFacade Facade { get; set; }
Property Value
- DiamondShapeFacade
Height
Property to get or set height of the shape.
public double Height { get; set; }
Property Value
ShapeIndex
Property to get or set the shape index within a slide.
public int ShapeIndex { get; set; }
Property Value
Width
Property to get or set width of the shape.
public double Width { get; set; }
Property Value
X
Property to get or set X coordinate of the shape.
public double X { get; set; }
Property Value
Y
Property to get or set Y coordinate of the shape.
public double Y { get; set; }
Property Value
Methods
GetDiamonds(List<DiamondShapeFacade>)
Method for getting the list of Diamond shapes.
public static List<Diamond> GetDiamonds(List<DiamondShapeFacade> DiamondFacades)
Parameters
DiamondFacades
List<DiamondShapeFacade>A list of DiamondShapeFacade objects.
Returns
Remove()
Method to remove the Diamond shape from a slide.
public void Remove()
Update()
Method to update Diamond shape.
public void Update()