Defines the SVG align type, which specifies the alignment of the SVG document or viewport within a parent.
Namespace: RSSVGTypes
Delphi
|
type
TSVGAlign = (
saNone,
saXMinYMin,
saXMidYMin,
saXMaxYMin,
saXMinYMid,
saXMidYMid,
saXMaxYMid,
saXMinYMax,
saXMidYMax,
saXMaxYMax );
|
|
Name
|
Description
|
|
saNone
|
Do not force uniform scaling. Scale the graphic content of the given element non-uniformly if necessary such that the element's bounding box exactly matches the viewport rectangle.
|
|
saXMaxYMax
|
Force uniform scaling.
Align the <min-x>+<width> of the element's ‘viewBox’ with the maximum X value of the viewport.
Align the <min-y>+<height> of the element's ‘viewBox’ with the maximum Y value of the viewport.
|
|
saXMaxYMid
|
Force uniform scaling.
Align the <min-x>+<width> of the element's ‘viewBox’ with the maximum X value of the viewport.
Align the midpoint Y value of the element's ‘viewBox’ with the midpoint Y value of the viewport.
|
|
saXMaxYMin
|
Force uniform scaling.
Align the <min-x>+<width> of the element's ‘viewBox’ with the maximum X value of the viewport.
Align the <min-y> of the element's ‘viewBox’ with the smallest Y value of the viewport
|
|
saXMidYMax
|
Force uniform scaling.
Align the midpoint X value of the element's ‘viewBox’ with the midpoint X value of the viewport.
Align the <min-y>+<height> of the element's ‘viewBox’ with the maximum Y value of the viewport.
|
|
saXMidYMid
|
Force uniform scaling.
Align the midpoint X value of the element's ‘viewBox’ with the midpoint X value of the viewport.
Align the midpoint Y value of the element's ‘viewBox’ with the midpoint Y value of the viewport.
|
|
saXMidYMin
|
Force uniform scaling.
Align the midpoint X value of the element's ‘viewBox’ with the midpoint X value of the viewport.
Align the <min-y> of the element's ‘viewBox’ with the smallest Y value of the viewport
|
|
saXMinYMax
|
Force uniform scaling.
Align the <min-x> of the element's ‘viewBox’ with the smallest X value of the viewport.
Align the <min-y>+<height> of the element's ‘viewBox’ with the maximum Y value of the viewport
|
|
saXMinYMid
|
Force uniform scaling.
Align the <min-x> of the element's ‘viewBox’ with the smallest X value of the viewport.
Align the midpoint Y value of the element's ‘viewBox’ with the midpoint Y value of the viewport.
|
|
saXMinYMin
|
Force uniform scaling.
Align the <min-x> of the element's ‘viewBox’ with the smallest X value of the viewport.
Align the <min-y> of the element's ‘viewBox’ with the smallest Y value of the viewport.
|
Top
|