Dies ist die alte 4D Dokumentations-Website. Die neue und aktualisierte Dokumentation finden Sie unter developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
SVG_SCALING_CENTERED
|
SVG_SCALING_CENTERED ( svgObject ; scale {; x ; y} ) | ||||||||
Parameter | Typ | Beschreibung | ||||||
svgObject | SVG_Ref |
![]() |
SVG object reference | |||||
scale | Zahl |
![]() |
Scale value | |||||
x | Zahl |
![]() |
X axis | |||||
y | Zahl |
![]() |
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.
Produkt: 4D
Thema: Utilities
Erstellt: 4D v14
4D SVG ( 4D v20 R7)