New to Kendo UI for Angular? Start 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.

In this article

Not finding the help you need?