<hatchpath>

Nasi wolontariusze nie przetłumaczyli jeszcze tego artykułu na język Polski. Dołącz do nas i pomóż go przetłumaczyć!
Można także przeczytać artykuł w języku: English (US).

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The <hatchpath> SVG element defines a hatch path used by the <hatch> element.

Usage context

CategoriesNone
Permitted contentAny number of the following elements, in any order:
Animation elements
Descriptive elements
<script>, <style>

Attributes

Global attributes

Specific attributes

DOM Interface

This element implements the SVGHatchpathElement interface.

Example

SVG

<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg">
  <defs>
    <hatch id="hatch" hatchUnits="userSpaceOnUse" pitch="5"
        rotate="135">
      <hatchpath stroke="#a080ff" stroke-width="2"/>
    </hatch>
  </defs>

  <rect fill="url(#hatch)" stroke="black" stroke-width="2"
     x="10%" y="10%" width="80%" height="80%" />
</svg>

Result

Specifications

Specification Status Comment
Scalable Vector Graphics (SVG) 2
The definition of '<hatchpath>' in that specification.
Candidate Recommendation Initial definition

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
hatchpath
Experimental
Chrome No support NoEdge No support NoFirefox No support NoIE No support NoOpera No support NoSafari ? WebView Android ? Chrome Android No support NoEdge Mobile No support NoFirefox Android No support NoOpera Android No support NoSafari iOS ? Samsung Internet Android ?
dChrome No support NoEdge No support NoFirefox No support NoIE No support NoOpera No support NoSafari ? WebView Android ? Chrome Android No support NoEdge Mobile No support NoFirefox Android No support NoOpera Android No support NoSafari iOS ? Samsung Internet Android ?
offsetChrome No support NoEdge No support NoFirefox No support NoIE No support NoOpera No support NoSafari ? WebView Android ? Chrome Android No support NoEdge Mobile No support NoFirefox Android No support NoOpera Android No support NoSafari iOS ? Samsung Internet Android ?

Legend

No support  
No support
Compatibility unknown  
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.

See also

Autorzy i etykiety dokumentu

Autorzy tej strony: mdnwebdocs-bot, fscholz, Sebastianz
Ostatnia aktualizacja: mdnwebdocs-bot,