public void setLineDashPattern ( final float [ ] pattern , final float phase ) throws IOException { if ( inTextMode ) { throw new IllegalStateException ( "Error: setLineDashPattern is not allowed within a text block." ) ; } write ( ( byte ) ' ' ) ; for ( final float value : pattern ) { writeOperand ( value ) ; } write ( ( byte ) ' ' , ( byte ) ' ' ) ; writeOperand ( phase ) ; writeOperator ( ( byte ) ' ' ) ; }
Set the line dash pattern .