moel@391
|
1 |
// --------------------------------------------------------------------------------------------------------------------
|
moel@391
|
2 |
// <copyright file="OxyPenLineJoin.cs" company="OxyPlot">
|
moel@391
|
3 |
// The MIT License (MIT)
|
moel@391
|
4 |
//
|
moel@391
|
5 |
// Copyright (c) 2012 Oystein Bjorke
|
moel@391
|
6 |
//
|
moel@391
|
7 |
// Permission is hereby granted, free of charge, to any person obtaining a
|
moel@391
|
8 |
// copy of this software and associated documentation files (the
|
moel@391
|
9 |
// "Software"), to deal in the Software without restriction, including
|
moel@391
|
10 |
// without limitation the rights to use, copy, modify, merge, publish,
|
moel@391
|
11 |
// distribute, sublicense, and/or sell copies of the Software, and to
|
moel@391
|
12 |
// permit persons to whom the Software is furnished to do so, subject to
|
moel@391
|
13 |
// the following conditions:
|
moel@391
|
14 |
//
|
moel@391
|
15 |
// The above copyright notice and this permission notice shall be included
|
moel@391
|
16 |
// in all copies or substantial portions of the Software.
|
moel@391
|
17 |
//
|
moel@391
|
18 |
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
moel@391
|
19 |
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
moel@391
|
20 |
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
moel@391
|
21 |
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
moel@391
|
22 |
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
moel@391
|
23 |
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
moel@391
|
24 |
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
moel@391
|
25 |
// </copyright>
|
moel@391
|
26 |
// <summary>
|
moel@391
|
27 |
// Pen line join.
|
moel@391
|
28 |
// </summary>
|
moel@391
|
29 |
// --------------------------------------------------------------------------------------------------------------------
|
moel@391
|
30 |
namespace OxyPlot
|
moel@391
|
31 |
{
|
moel@391
|
32 |
/// <summary>
|
moel@391
|
33 |
/// Specifies how to join line segments.
|
moel@391
|
34 |
/// </summary>
|
moel@391
|
35 |
public enum OxyPenLineJoin
|
moel@391
|
36 |
{
|
moel@391
|
37 |
/// <summary>
|
moel@391
|
38 |
/// Line joins use regular angular vertices.
|
moel@391
|
39 |
/// </summary>
|
moel@391
|
40 |
Miter,
|
moel@391
|
41 |
|
moel@391
|
42 |
/// <summary>
|
moel@391
|
43 |
/// Line joins use rounded vertices.
|
moel@391
|
44 |
/// </summary>
|
moel@391
|
45 |
Round,
|
moel@391
|
46 |
|
moel@391
|
47 |
/// <summary>
|
moel@391
|
48 |
/// Line joins use beveled vertices.
|
moel@391
|
49 |
/// </summary>
|
moel@391
|
50 |
Bevel
|
moel@391
|
51 |
}
|
moel@391
|
52 |
} |