a
b
c
cx
cy
d
dx
dy
e
f
fx
fy
id
in1
in2
k1
k2
k3
k4
r1
r2
x
x1
x2
y
y1
y2
z
Expand Minimize

clip-path attribute | clipPath property

Sets or retrieves a reference to the Scalable Vector Graphics (SVG) graphical object that will be used as the clipping path.

Scalable Vector Graphics: Clipping, Masking and Compositing, Section 14.3.6

Syntax

HTML
<element clip-path="p" ... >
JavaScript
p = object.clipPath

Property values

Type: String

One of the values in the Property Values section.

Standards information

Remarks

An IRI is similar to a URL. For example, an SVG file called myDrawing.svg located at http://contoso.com might have the following IRI: http://contoso.com/myDrawing.svg.

See also

a
CSSStyleDeclaration
currentStyle
style
SVGCircleElement
SVGDefsElement
SVGEllipseElement
SVGGElement
SVGImageElement
SVGLineElement
SVGMarkerElement
SVGMaskElement
SVGPathElement
SVGPatternElement
SVGPolygonElement
SVGPolylineElement
SVGRectElement
SVGSVGElement
SVGSwitchElement
SVGSymbolElement
SVGTextElement
SVGUseElement
clip-rule

 

 

Show:
© 2014 Microsoft