FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
javaxt-gis/src/javaxt/cartography/Style.java at master · javaxt-project/javaxt-gis · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
javaxt-project
/
javaxt-gis
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
javaxt-gis
/
src
/
javaxt
/
cartography
/
Style.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
55 lines (41 loc) · 1.6 KB
Breadcrumbs
javaxt-gis
/
src
/
javaxt
/
cartography
/
Style.java
Copy path
File metadata and controls
55 lines (41 loc) · 1.6 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package
javaxt
.
cartography
;
import
java
.
awt
.
Color
;
import
java
.
awt
.
Graphics2D
;
//******************************************************************************
//** Style Class - By Peter Borissow
//******************************************************************************
/**
* Enter class description
*
******************************************************************************/
public
class
Style
{
private
java
.
awt
.
Graphics2D
g2d
;
//**************************************************************************
//** Creates a new instance of Style
//**************************************************************************
public
Style
(
java
.
awt
.
Graphics2D
g2d
){
this
.
g2d
=
g2d
;
}
//**************************************************************************
//** getGraphics
//**************************************************************************
/** Used to retrieve the current graphics object */
public
java
.
awt
.
Graphics2D
getGraphics
(){
return
g2d
;
}
//**************************************************************************
//** setLineColor
//**************************************************************************
/** Set Active Line Color */
public
void
setLineColor
(
int
r
,
int
g
,
int
b
){
//g2d.setColor(Color.BLACK);
Color
myColor
=
new
Color
(
r
,
g
,
b
);
g2d
.
setColor
(
myColor
);
}
public
void
setLineWieght
(){
}
public
void
setLineStyle
(){
}
public
void
setFillColor
(){
}
}
Back
|
FazBrowse Home
|
New Git URL