features:
- extract
ImageEncoderinterface to support outputting image file format. WithBuiltinImageEncoderfor using builtin ImageEncoder, such asJPEG,PNGWithCustomImageEncoderfor custonmizing ImageEncoding
fixes:
- the rectangle shape draws incorrectly with width and height. As #14 describes, it caused the images' right and bottom without border.