4D v14

SVG_SET_TRANSFORM_SKEW

Home

 
4D v14
SVG_SET_TRANSFORM_SKEW

SVG_SET_TRANSFORM_SKEW 


 

SVG_SET_TRANSFORM_SKEW ( svgObject ; horizontal {; vertical} ) 
Parameter Type   Description
svgObject  SVG_Ref in Reference of SVG element
horizontal  Longint in Value of incline along X axis
vertical  Longint in Value of incline along Y axis

The SVG_SET_TRANSFORM_SKEW command specifies a horizontal and/or vertical incline for the SVG object having the svgObject reference.

If the value of the horizontal parameter is not null, the object will be inclined horizontally according to the number of units passed; otherwise, it is ignored.

If the value of the vertical parameter is not null, the object will be inclined vertically according to the number of units passed.

Example  

 $svg :=SVG_New
  `Draw a background
 SVG_New_rect($svg;0;0;270;160;10;10;"black";"gray")
  `Place the text…
 $tx:=SVG_New_text($svg;"Hello world!";100;5;"";48)
  `in white
 SVG_SET_FONT_COLOR($tx;"white")
  `Incline it
 SVG_SET_TRANSFORM_SKEW($tx;-50;10) `Incline

 
PROPERTIES 

Product: 4D
Theme: Attributes
Number: 65947

 
HISTORY 

Created: Composant 4D SVG v11.3

 
SEE ALSO 

SVG_SET_TRANSFORM_FLIP

 
ARTICLE USAGE

4D SVG Component ( 4D v13)
4D SVG Component ( 4D v12)
4D SVG Component ( Composant 4D SVG v11.4)
4D SVG Component ( 4D v14 R2)
4D SVG Component ( 4D v14)
4D SVG Component ( 4D v14 R3)
4D SVG Component ( 4D v14 R4)