4D v16

SVG_SET_SHAPE_RENDERING

Home

 
4D v16
SVG_SET_SHAPE_RENDERING

SVG_SET_SHAPE_RENDERING 


 

SVG_SET_SHAPE_RENDERING ( svgObject ; rendering ) 
Parameter Type   Description
svgObject  SVG_Ref in Reference of SVG element
rendering  Text in Type of rendering

The SVG_SET_SHAPE_RENDERING command can be used to set which tradeoffs should be made regarding the rendering of graphic elements for the object designated by svgObject. If svgObject is not an SVG object, an error is generated.

The rendering parameter must contain one of the following values: "auto", "optimizeSpeed", "crispEdges", "geometricPrecision" or "inherit". Otherwise, an error is generated. 

See Also: http://www.w3.org/TR/2001/REC-SVG-20010904/painting.html#ShapeRenderingProperty

 
PROPERTIES 

Product: 4D
Theme: Attributes
Number: 65898

 
HISTORY 

Created: 4D v12

 
ARTICLE USAGE

4D SVG Component ( 4D v16)