Enum ImageAlignment
Specifies the process of overlaying images of the same scene under different condition of the image.
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public enum ImageAlignment
Examples
Node node5 = new Node()
{
Shape = new ImageShape()
{
Type = NodeShapes.Image, ImageAlign = ImageAlignment.None, Scale = DiagramScale.None,
Source = " https://www.syncfusion.com/content/images/nuget/sync_logo_icon.png"
},
};
Fields
| Name | Description |
|---|---|
| None | Sets the none alignments for the image. |
| XMaxYMax | Sets the maximum X value of the view port and maximum Y value of the view port for the image. |
| XMaxYMid | Sets the maximum X value of the view port and midpoint Y value of the view port for the image. |
| XMaxYMin | Sets the maximum X value of the view port and smallest Y value of the view port for the image. |
| XMidYMax | Sets the midpoint X value of the view port and maximum Y value of the view port for the image. |
| XMidYMid | Sets the smallest X value of the view port and midpoint Y value of the view port for the image. |
| XMidYMin | Sets the midpoint X value of the view port and smallest Y value of the view port for the image. |
| XMinYMax | Sets the smallest X value of the view port and maximum Y value of the view port for the image. |
| XMinYMid | Sets the smallest X value of the view port and midpoint Y value of the view port for the image. |
| XMinYMin | Sets the smallest X value of the view port and smallest Y value of the view port for the image. |