■ Palette 클래스의 GetColor 메소드를 사용해 팔레트 색상을 구하는 방법을 보여준다.
▶ 예제 코드 (C#)
1 2 3 4 5 6 7 8 9 10 11 |
using System.Drawing; using ScottPlot; Plot plot = new Plot(800, 600); ScottPlot.Drawing.Palette palette = plot.Palette; Color color = palette.GetColor(0); |