Class ImageAlignment
Specifies the process of overlaying images of the same scene under different condition of the image.
Inheritance
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public sealed class ImageAlignment : Enum
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
None
Sets the none alignments for the image.
Declaration
public const ImageAlignment None
Field Value
Type |
---|
ImageAlignment |
XMaxYMax
Sets the maximum X value of the view port and maximum Y value of the view port for the image.
Declaration
public const ImageAlignment XMaxYMax
Field Value
Type |
---|
ImageAlignment |
XMaxYMid
Sets the maximum X value of the view port and midpoint Y value of the view port for the image.
Declaration
public const ImageAlignment XMaxYMid
Field Value
Type |
---|
ImageAlignment |
XMaxYMin
Sets the maximum X value of the view port and smallest Y value of the view port for the image.
Declaration
public const ImageAlignment XMaxYMin
Field Value
Type |
---|
ImageAlignment |
XMidYMax
Sets the midpoint X value of the view port and maximum Y value of the view port for the image.
Declaration
public const ImageAlignment XMidYMax
Field Value
Type |
---|
ImageAlignment |
XMidYMid
Sets the smallest X value of the view port and midpoint Y value of the view port for the image.
Declaration
public const ImageAlignment XMidYMid
Field Value
Type |
---|
ImageAlignment |
XMidYMin
Sets the midpoint X value of the view port and smallest Y value of the view port for the image.
Declaration
public const ImageAlignment XMidYMin
Field Value
Type |
---|
ImageAlignment |
XMinYMax
Sets the smallest X value of the view port and maximum Y value of the view port for the image.
Declaration
public const ImageAlignment XMinYMax
Field Value
Type |
---|
ImageAlignment |
XMinYMid
Sets the smallest X value of the view port and midpoint Y value of the view port for the image.
Declaration
public const ImageAlignment XMinYMid
Field Value
Type |
---|
ImageAlignment |
XMinYMin
Sets the smallest X value of the view port and smallest Y value of the view port for the image.
Declaration
public const ImageAlignment XMinYMin
Field Value
Type |
---|
ImageAlignment |