Update 23.12.2021

RoccoZero

Active member
Staff member
Administrator
Developer
Apr 30, 2022
887
79
28
Update

  • Added class StrokeStyle
  • Added enum CapStyle
  • Added enum LineJoin
  • Added enum DashStyle

StrokeStyle
  • Added CapStyle StartCap { get; }
  • Added CapStyle EndCap { get; }
  • Added CapStyle DashCap { get; }
  • Added LineJoin LineJoin { get; }
  • Added float MiterLimit { get; }
  • Added DashStyle DashStyle { get; }
  • Added float DashOffset { get; }
  • Added float[]? Dashes { get; }

RendererManager
  • Added StrokeStyle CreateStrokeStyle(...)
  • Added void DrawLine(Vector2 start, Vector2 end, Color color, float width, StrokeStyle strokeStyle)
  • Added void DrawCircle(Vector2 center, float radius, Color color, float width, StrokeStyle strokeStyle)
  • Added void DrawRectangle(RectangleF rect, Color color, float width, StrokeStyle strokeStyle)
  • Added void DrawFilledRectangle(RectangleF rect, Color color, Color backgroundColor, float borderWidth, StrokeStyle strokeStyle)