0

I'm trying to fade the color of an angle from the vertex to the outside but neither the top/bottom color our inner/outer options seem to do it the right way.

\documentclass[tikz, border=2mm]{standalone}

\usepackage{tikz, tkz-euclide}

\usetkzobj{all}


\begin{document}

    \begin{tikzpicture}[scale=.8]
        \tkzDefPoints{0/0/A, 4/0/B, 0/3/C}
        \tkzMarkAngle[bottom color=red!50, top color= white, size=.7, draw opacity=0](C,B,A)
        \tkzMarkRightAngle(B,A,C)
        \tkzDrawSegments(A,B A,C B,C)
        \tkzLabelAngle[pos=1](C,B,A){$\alpha$}
        \tkzLabelPoints[above](C)
        \tkzLabelPoints[below](A)
        \tkzLabelPoints[right](B)           
    \end{tikzpicture}

\end{document}

enter image description here

I wanted to make it darker closer to B. Any way I can do it?

Thanks!

  • What about left color/right color? That does work (kind of). – TeXnician Sep 22 '17 at 9:56
  • yes, it does work better! didn't cross my mind to try left/right. Thanks – Concept7 Sep 22 '17 at 10:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.