blockly > Block > getRelativeToSurfaceXY
Metode Block.getRelativeToSurfaceXY()
Menampilkan koordinat sudut kiri atas blok ini relatif terhadap asal permukaan gambar (0,0), dalam unit ruang kerja.
Tanda Tangan:
getRelativeToSurfaceXY(): Coordinate;
Hasil:
Objek dengan properti .x dan .y.