Exemple #1
0
 /// <summary>
 /// Sets the dash pattern to be used by stroke().
 /// A dash pattern is specified by dashes, an array of positive values.
 /// Each value provides the user-space length of altenate "on" and "off" portions of the stroke.
 /// The offset specifies an offset into the pattern at which the stroke begins.
 /// If dashes is empty dashing is disabled. If the size of dashes is 1,
 /// a symmetric pattern is assumed with alternating on and off portions of the size specified by the single value in dashes.
 /// It is invalid for any value in dashes to be negative, or for all values to be 0.
 /// If this is the case, an exception will be thrown
 /// </summary>
 /// <param name='offset'>
 /// Offset.
 /// </param>
 /// <param name='pattern'>
 /// Pattern.
 /// </param>
 public void SetLineDash(double offset, params double[] pattern)
 {
     handler.SetLineDash(Backend, offset, pattern);
 }