Skip to content

Commit

Permalink
fixed CaptchaOptions for byte properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Behzad Khosravifar committed Apr 9, 2024
1 parent 7682616 commit 99e7b22
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Captcha.Net/CaptchaOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ public class CaptchaOptions
public ushort Height { get; set; } = 50;
public ushort NoiseRate { get; set; } = 100;
public Color[] NoiseRateColor { get; set; } = new Color[] { Color.Gray, Color.Black, Color.Red };
public byte FontSize { get; set; } = 29;
public int FontSize { get; set; } = 29;
public FontStyle FontStyle { get; set; } = FontStyle.Regular;
public EncoderTypes EncoderType { get; set; } = EncoderTypes.Jpeg;
public IImageEncoder Encoder => Extensions.GetEncoder(EncoderType);
public byte DrawLines { get; set; } = 5;
public byte MaxRotationDegrees { get; set; } = 5;
public int DrawLines { get; set; } = 5;
public int MaxRotationDegrees { get; set; } = 5;
public Color[] BackgroundColor { get; set; } = new Color[] { Color.White };
public float? RotationDegree { get; set; } = 3;

Expand Down

0 comments on commit 99e7b22

Please sign in to comment.