Table of Contents

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__

.NET

def __init__(self, png: Sequence[int] | System.Array[int], width: int, height: int) -> None

Makes a picture.

Properties and fields

Height

.NET

@property
def Height(self) -> int

Gets the height in pixels.

Png

.NET

@property
def Png(self) -> System.Array[int]

Gets the PNG file's bytes.

Width

.NET

@property
def Width(self) -> int

Gets the width in pixels.