4D v16

SVG_SCALING_CENTERED

Home

 
4D v16
SVG_SCALING_CENTERED

SVG_SCALING_CENTERED 


 

SVG_SCALING_CENTERED ( svgObject ; scale {; x ; y} )  
Parameter Typ   Beschreibung
svgObject  SVG_Ref in SVG object reference
scale  Zahl in Scale value
Zahl in X axis
Zahl in Y axis

The SVG_SCALING_CENTERED command performs a centered scaling of the SVG image whose reference is passed in the svgObject parameter.

In the scale parameter, you pass a positive scale value (>1). If you pass 1, the scale is set to 100%.

In the optional x and y parameters, you can pass, respectively, the x- and y-axis coordinates for the center point. If you do not pass these parameters, the center point is determined based on the "x", "y", "width" and "height" attributes of the object (if any). If this type of transformation is applied to an object that does not have these attributes, and the optional x and y parameters are omitted, an empty string is returned.

 
EIGENSCHAFTEN 

Produkt: 4D
Thema: Utilities

 
GESCHICHTE 

Erstellt: 4D v14

 
ARTIKELVERWENDUNG

4D SVG ( 4D v16)