Implementation
Map<String, Object?> get properties => <String, Object?>{
'strokeStyle': strokeStyle,
'fillStyle': fillStyle,
'globalAlpha': globalAlpha,
'lineWidth': lineWidth,
'lineCap': lineCap,
'lineJoin': lineJoin,
'miterLimit': miterLimit,
//'lineDashOffset': lineDashOffset,
'shadowOffsetX': shadowOffsetX,
'shadowOffsetY': shadowOffsetY,
'shadowBlur': shadowBlur,
'shadowColor': shadowColor,
'globalCompositeOperation': globalCompositeOperation,
'font': font,
'textAlign': textAlign,
'textBaseline': textBaseline,
'direction': direction,
'imageSmoothingEnabled': imageSmoothingEnabled,
};