new Surface(
type?):Surface
Creates a surface of the specified type.
If type is omitted, the surface type is SurfaceType.UNDEFINED.
SurfaceType = SurfaceType.UNDEFINED
Type of the surface.
Surface
readonlytype:SurfaceType=SurfaceType.UNDEFINED
Type of the surface.
get id():
bigint
Returns the unique identifier of the object.
bigint