Patterns and Hatch Styles

When using gr_fillarea(), GR.fillarea or gr.fillarea(), you can not only fill the area with a solid color or draw its boundary, you can also use one of the following patterns or hatch styles. To do so, you need to set the interior fill style (e.g. with gr.setfillintstyle()) to INTSTYLE_PATTERN (2) or INTSTYLE_HATCH (3). You can then select a pattern or hatch style using gr.setfillstyle() and its index.

Patterns

Index

Pattern

1

pattern001

2

pattern002

3

pattern003

4

pattern004

5

pattern005

6

pattern006

7

pattern007

8

pattern008

9

pattern009

10

pattern010

11

pattern011

12

pattern012

13

pattern013

14

pattern014

15

pattern015

16

pattern016

17

pattern017

18

pattern018

19

pattern019

20

pattern020

21

pattern021

22

pattern022

23

pattern023

24

pattern024

25

pattern025

26

pattern026

27

pattern027

28

pattern028

29

pattern029

30

pattern030

31

pattern031

32

pattern032

33

pattern033

34

pattern034

35

pattern035

36

pattern036

37

pattern037

38

pattern038

39

pattern039

40

pattern040

41

pattern041

42

pattern042

43

pattern043

44

pattern044

45

pattern045

46

pattern046

47

pattern047

48

pattern048

49

pattern049

50

pattern050

51

pattern051

52

pattern052

53

pattern053

54

pattern054

55

pattern055

56

pattern056

57

pattern057

58

pattern058

59

pattern059

60

pattern060

61

pattern061

62

pattern062

63

pattern063

64

pattern064

65

pattern065

66

pattern066

67

pattern067

68

pattern068

69

pattern069

70

pattern070

71

pattern071

72

pattern072

73

pattern073

74

pattern074

75

pattern075

76

pattern076

77

pattern077

78

pattern078

79

pattern079

80

pattern080

81

pattern081

82

pattern082

83

pattern083

84

pattern084

85

pattern085

86

pattern086

87

pattern087

88

pattern088

89

pattern089

90

pattern090

91

pattern091

92

pattern092

93

pattern093

94

pattern094

95

pattern095

96

pattern096

97

pattern097

98

pattern098

99

pattern099

100

pattern100

101

pattern101

102

pattern102

103

pattern103

104

pattern104

105

pattern105

106

pattern106

107

pattern107

108

pattern108

Hatch Styles

Index

1

hatch001

2

hatch002

3

hatch003

4

hatch004

5

hatch005

6

hatch006

7

hatch007

8

hatch008

9

hatch009

10

hatch010

11

hatch011