Creates a Text instance with constructor args and optional properties
Optional
const text = asText( { text: 'Hello', style: { fontFamily: 'Arial', fontSize: 24 } }, { x: 100, y: 50 }); Copy
const text = asText( { text: 'Hello', style: { fontFamily: 'Arial', fontSize: 24 } }, { x: 100, y: 50 });
Creates a Text instance with constructor args and optional properties