Quantcast
Viewing latest article 1
Browse Latest Browse All 2

Answer by Ignasi for Tikz custom dotted pattern

\documentclass[tikz,border=2mm]{standalone} \usetikzlibrary{patterns}\pgfdeclarepatternformonly{mydots}{\pgfqpoint{-1pt}{-1pt}}{\pgfqpoint{1pt}{1pt}}{\pgfqpoint{2pt}{2pt}}% original definition: \pgfqpoint{3pt}{3pt}{%  \pgfpathcircle{\pgfqpoint{0pt}{0pt}}{.5pt}%  \pgfusepath{fill}%}%\pgfdeclarepatternformonly{mynewdots}{\pgfqpoint{-1pt}{-1pt}}{\pgfqpoint{1pt}{1pt}}{\pgfqpoint{1pt}{1pt}}% original definition: \pgfqpoint{3pt}{3pt}{%  \pgfpathcircle{\pgfqpoint{0pt}{0pt}}{.5pt}%  \pgfusepath{fill}%}%\begin{document}\begin{tikzpicture}\draw[pattern=dots] (0,0) rectangle ++(3,3);\draw[pattern=mydots] (4,0) rectangle ++(3,3);\draw[pattern=mynewdots] (8,0) rectangle ++(3,3);\end{tikzpicture}\end{document}

Image may be NSFW.
Clik here to view.
enter image description here


Viewing latest article 1
Browse Latest Browse All 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>