New to Kendo UI for AngularStart a free 30-day trial

align

Aligns the X axis position of the drawing elements to a given rectangle.

The supported values are:

  • "start"—The elements will be aligned to the rectangle origin.
  • "center"—The elements will be aligned to the rectangle center.
  • "end"—The elements will be aligned to the right side of the rectangle.

Parameters

elements

Element[]

An array with the drawing elements that should be aligned.
rect

Rect

The rectangle in which the elements should be aligned.
alignment

"start" | "center" | "end"

Specifies how the elements should be aligned.
Not finding the help you need?
Contact Support