Hide Comments
Hide Comments

Comments (0)

Defines the SVG align type, which specifies the alignment of the SVG document or viewport within a parent.

Namespace: FMX.RS.SVGTypes

expandingSyntax

Delphi

type 
  TSVGAlign = ( 
  saNone, 
  saXMinYMin, 
  saXMidYMin, 
  saXMaxYMin, 
  saXMinYMid, 
  saXMidYMid, 
  saXMaxYMid, 
  saXMinYMax, 
  saXMidYMax, 
  saXMaxYMax ); 
 

expandingMembers

 

Name

Description

public enummember

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.

public enummember

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.

public enummember

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.

public enummember

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

public enummember

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.

public enummember

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.

public enummember

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

public enummember

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

public enummember

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.

public enummember

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

expandingSee Also

Reference

Comments (0)

RiverSoftAVG SVG Component Library (RSCL) © 2013-2015, Thomas G. Grubb