HatchFilling
is a two-dimensional graphics directive that specifies that faces of polygons and other filled graphics objects are to be drawn using closely spaced parallel lines.
HatchFilling["name"]
uses the specified line hatching "name".
HatchFilling[θ]
draws parallel lines with an angle θ.
HatchFilling[θ,r]
draws parallel lines with absolute thickness r.
HatchFilling[θ,r,d]
draws parallel lines with gaps of absolute thickness d.
Details
- HatchFilling is also known as hatch or striped pattern.
- HatchFilling is typically used to fill two‐dimensional polygons and areas with stripes.
- Possible line hatching includes:
-
"Diagonal" diagonal lines "Horizontal" horizontal lines "Vertical" vertical lines - HatchFilling[θ,r,d] specifies that faces of filled graphics objects are to be drawn using parallel lines with an angle θ from the horizontal, a thickness r and distance d.
- HatchFilling[] is effectively equivalent to HatchFilling[Pi/4].
Examples
open allclose allBasic Examples (3)
Scope (13)
Basic Uses (7)
Apply hatch filling to graphics primitives:
Apply hatch filling to a plot:
Apply hatch filling to a chart:
Apply hatch filling to an Image:
Specification (6)
HatchFilling with no arguments draws parallel lines in a angle:
Draw parallel lines at an angle θ in radians:
Draw parallel lines with varying thickness:
Draw parallel lines with varying spacing:
Applications (6)
Text
Wolfram Research (2020), HatchFilling, Wolfram Language function, https://reference.wolfram.com/language/ref/HatchFilling.html.
CMS
Wolfram Language. 2020. "HatchFilling." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/HatchFilling.html.
APA
Wolfram Language. (2020). HatchFilling. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/HatchFilling.html