答案1
如果你想修改单个点或点的子集您需要独立绘制不同风格的点,这允许您\tkzDrawPoints[<local options>](<name>)
为该单个点(或点的子集)设置局部选项:
\documentclass[12pt,a4paper]{article}
\usepackage{tikz,tkz-euclide}
\usetkzobj{all}
\begin{document}
\tikz{
\tkzDefPoints{0/0/A, 5/0/B}
\tkzDrawPoints[size=20](A)
\tkzDrawPoints(B)
\tkzLabelPoints(A,B)
\tkzDrawSegment(A,B)
}
\end{document}
对于这两点使用:
\tkzDrawPoints[size=20](A,B)
如果你想修改所有后续要点您可以使用tkzSetUpPoint
...
\tkzSetUpPoint[size = 20]
\tkzDrawPoints(A,B)
...
答案2
您可以根据需要设置您的积分\tkzSetUpPoint[<drawing specifications>]
。
\documentclass[12pt,a4paper]{article}
\usepackage{tikz,tkz-euclide}
\usetkzobj{all}
\begin{document}
\tkzSetUpPoint[shape = circle, color = black,%
size = 12,fill = red]
\tikz{
\tkzDefPoints{0/0/A, 5/0/B}
\tkzDrawPoints(A,B)
\tkzLabelPoints(A,B)
\tkzDrawSegment(A,B)
}
\end{document}