hc_png-HilbertCurve-method.RdSave Hilbert curve as a PNG figure
# S4 method for HilbertCurve
hc_png(object, file = "HilbertCurve.png")A HilbertCurve-class object.
file name. If the suffix of the file name is not .png, it will be added automatically no matter you like it or not.
A PNG figure with resolution of 2^level x 2^level is generated.
Only the body of the Hilbert curve will be written to PNG file.
This function only works under 'pixel' mode.
No value is returned.