private GridLines getGridLines ( byte [ ] data , int offset ) { Color normalLineColor = ColorType . getInstance ( data [ offset ] ) . getColor ( ) ; LineStyle normalLineStyle = LineStyle . getInstance ( data [ offset + 3 ] ) ; int intervalNumber = data [ offset + 4 ] ; LineStyle intervalLineStyle = LineStyle . getInstance ( data [ offset + 5 ] ) ; Color intervalLineColor = ColorType . getInstance ( data [ offset + 6 ] ) . getColor ( ) ; return new GridLines ( normalLineColor , normalLineStyle , intervalNumber , intervalLineStyle , intervalLineColor ) ; }
Creates a new GridLines instance .