nativeSceneShape (Function)
Signature: nativeSceneShape(code: int, index: int, x: float, y: float, width: float, height: float, angle: float, tint: int, layer: int, words: string) -> int
Description: Appends one scene row and its text to the frame the host seals. Returns nonzero once the scene is refused.
Parameters
- code (
int): The scene row code - index (
int): The row's index - x (
float): Left edge - y (
float): Top edge - width (
float): Width - height (
float): Height - angle (
float): Rotation - tint (
int): Colour as 0xRRGGBBAA - layer (
int): Drawing depth - words (
string): The row's text
Returns: int
Example
print(nativeSceneShape(0, 0, 0.0, 0.0, 10.0, 10.0, 0.0, 255, 0, ""))
print (nativeSceneShape (0, 0, 0.0, 0.0, 10.0, 10.0, 0.0, 255, 0, ""))