01: /*
02: Copyright © 2007 Stefano Chizzolini. http://clown.stefanochizzolini.it
03:
04: Contributors:
05: * Stefano Chizzolini (original code developer, http://www.stefanochizzolini.it):
06: contributed code is Copyright © 2007 by Stefano Chizzolini.
07:
08: This file should be part of the source code distribution of "PDF Clown library"
09: (the Program): see the accompanying README files for more info.
10:
11: This Program is free software; you can redistribute it and/or modify it under
12: the terms of the GNU General Public License as published by the Free Software
13: Foundation; either version 2 of the License, or (at your option) any later version.
14:
15: This Program is distributed in the hope that it will be useful, but WITHOUT ANY
16: WARRANTY, either expressed or implied; without even the implied warranty of
17: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License for more details.
18:
19: You should have received a copy of the GNU General Public License along with this
20: Program (see README files); if not, go to the GNU website (http://www.gnu.org/).
21:
22: Redistribution and use, with or without modification, are permitted provided that such
23: redistributions retain the above copyright notice, license and disclaimer, along with
24: this list of conditions.
25: */
26:
27: package it.stefanochizzolini.clown.documents.contents;
28:
29: import it.stefanochizzolini.clown.objects.IPdfNumber;
30:
31: /**
32: Line Dash Pattern [PDF:1.6:4.3.2].
33:
34: @author Stefano Chizzolini
35: @version 0.0.4, 06/17/07
36: @since 0.0.4
37: */
38: public final class LineDash {
39: // <class>
40: // <dynamic>
41: // <fields>
42: private int[] dashArray;
43: private int dashPhase;
44:
45: // </fields>
46:
47: // <constructors>
48: public LineDash() {
49: this (null, 0);
50: }
51:
52: public LineDash(int[] dashArray, int dashPhase) {
53: this .dashArray = dashArray;
54: this .dashPhase = dashPhase;
55: }
56:
57: // </constructors>
58:
59: // <interface>
60: // <public>
61: public int[] getDashArray() {
62: return dashArray;
63: }
64:
65: public int getDashPhase() {
66: return dashPhase;
67: }
68: // </public>
69: // </interface>
70: // </dynamic>
71: // </class>
72: }
|