VegaRise.NET
HomeAPI Reference
Back to Transform

CreateWithAlignmentMethod

Definition

Namespace
DOM.Elements.Graphics
Assembly
DOM.dll

Creates a new instance with alignment-based positioning. Transform

Transform CreateWithAlignment(HorizontalAlignmentValues horizontalAlignment, VerticalAlignmentValues verticalAlignment, double width, double height, Units units)

Parameters

horizontalAlignment
Horizontal alignment.
verticalAlignment
Vertical alignment.
width
Width of the graphic.
height
Height of the graphic.
units
Measurement unit for dimensions (default: points).

Returns

Transform

A new instance with the specified properties. Transform