CadRemotePicture
from OpenCAD2D import CadRemotePicture
class CadRemotePicture(System.Object) ยท CadRemotePicture in the .NET reference
The picture of a canvas: a PNG of 8-bit red, green and blue and its size in pixels.
Constructors
__init__
def __init__(self, png: Sequence[int] | System.Array[int], width: int, height: int) -> None
Makes a picture.
Properties and fields
Height
@property
def Height(self) -> int
Gets the height in pixels.
Png
@property
def Png(self) -> System.Array[int]
Gets the PNG file's bytes.
Width
@property
def Width(self) -> int
Gets the width in pixels.