private PaintPath(string @operator, bool closed, bool stroked, bool filled, WindModeEnum?fillMode) : base(@operator) { this.closed = closed; this.stroked = stroked; this.filled = filled; this.fillMode = (fillMode.HasValue ? fillMode.Value : WindModeEnum.EvenOdd); }
private ModifyClipPath( string @operator, WindModeEnum clipMode ) : base(@operator) { this.clipMode = clipMode; }
private ModifyClipPath( string operator_, WindModeEnum clipMode ) : base(operator_) { this.clipMode = clipMode; }
/** * <summary>Converts this constant into its equivalent GDI+ code.</summary> */ public static SKPathFillType ToSkia(this WindModeEnum windMode) { switch (windMode) { case WindModeEnum.EvenOdd: return(SKPathFillType.EvenOdd); case WindModeEnum.NonZero: return(SKPathFillType.Winding); default: throw new NotSupportedException(windMode + " convertion not supported."); } }
/** * <summary>Converts this constant into its equivalent GDI+ code.</summary> */ public static FillMode ToGdi( this WindModeEnum windMode ) { switch (windMode) { case WindModeEnum.EvenOdd: return(FillMode.Alternate); case WindModeEnum.NonZero: return(FillMode.Winding); default: throw new NotSupportedException(windMode + " convertion not supported."); } }
private PaintPath( string operator_, bool closed, bool stroked, bool filled, WindModeEnum? fillMode ) : base(operator_) { this.closed = closed; this.stroked = stroked; this.filled = filled; this.fillMode = (fillMode.HasValue ? fillMode.Value : WindModeEnum.EvenOdd); }