\documentclass[12pt,a4paper,onecolumn]{article}
\usepackage{tikz}
\usepackage{caption}
\usetikzlibrary{positioning,fit,calc}
\begin{document}
\tikzstyle{every node}=[circle, draw, fill=black!100,
inner sep=0pt, minimum width=6pt]
\begin{tikzpicture}[thick,scale=0.8]%
\draw(0,0)node[label={[yshift=0cm]270:{$1$}}](1){};
\draw(0,4)node[label={[yshift=0cm]90:{$2$}}](2){};
\draw(4,4)node[label={[yshift=0cm]90:{$3$}}](3){};
\draw(4,0)node[label={[yshift=0cm]270:{$4$}}](4){};
\draw[->, line width=0.3mm, >=latex, shorten <= 0.2cm, shorten >= 0.15cm](1)--(2);
\draw[dashed, ->, line width=0.3mm, >=latex, shorten <= 0.2cm, shorten >= 0.15cm](2)--(3);
\draw[densely dotted,->, line width=0.3mm, >=latex, shorten <= 0.2cm, shorten >= 0.15cm](3)--(4);
\draw[densely dashdotdotted, ->, line width=0.3mm, >=latex, shorten <= 0.2cm, shorten >= 0.15cm](4)--(1);
\end{tikzpicture}
{\captionof{figure}{4 types of arcs.}}
In Figure 1, there are 4 types of arcs, namely the solid $<display Solid Line Here>$, dashed $<display Dashed Line Here>$, densely dotted $<display Densely Dotted Line Here>$, and densely dashdotdotted $<display Densely Dashdotdotted Line Here>$.
\noindent\par The best I can do is
In Figure 1, there are 4 types of arcs, namely the solid $<display Solid Line Here>$, dashed $<--->$, densely dotted $<\cdots>$, and densely dashdotdotted $<display Densely Dashdotdotted Line Here>$
\end{document}
Thank you

densely dashdottedinstead ofdensely dashdotdotted. After fixing that it looks the same. – Henri Menke Mar 01 '22 at 16:36\lineexample, you can see#1~at the beginning. This is what types the name of the dash type. If you just want the lines but not the names, delete this part. – SebGlav Mar 01 '22 at 18:02