DeleteShape
DeleteShape ShapeIndex
 
Parameters:

    ShapeIndex = The Index of the shape you wish to delete
Returns: NONE
 

DeleteShape removes a shape from memory.


FACTS:


* None



Mini Tutorial:


This example creates a shape, defines


  
; Define a variable, and grab a free shape Index
  MyShape = GetFreeShape()
  
; Create MySHape, with room for 10 vertex and
; 10 edge connections
  CreateShape MyShape,10,10
  
; Display this shapes status
  Print GetShapeStatus(MyShape)
  
; Delete this newly created shape from memory
  DeleteShape  MyShape
  
; Display this shapes status after deleting
  Print GetShapeStatus(MyShape)
  
; Display the screen and wait for a key press
  Sync
  WaitKey
  
  




This example would output.

  
  1
  0
  

 
Related Info: CreateConvexShape | CreateShape | LoadShape | NewConvexShape | NewShape | SaveShape :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com