MIDletPascal:   
 
   MIDletPascal  
   
,   
  
   
.   
  
  
.
  (Canvas).
  
  . 
    
   :
IsColorDisplay -  
true 
  , ,
  ,  false ; GetWidth
 GetHeight -   
     ,
  
 integer ; GetColorNum -  
  ,
  
.  , 
   
   
   - 
  0,0 . 


     
   
  DrawText .   
   ,
,  , 
.    
SetFont(Face, Style, Size). Face -   
,   
: FONT_FACE_SYSTEM (),
FONT_FACE_MONOSPACE (),
FONT_FACE_PROPORTIONAL (). Style
-   : FONT_STYLE_BOLD
(), FONT_STYLE_ITALIC (),
FONT_STYLE_UNDERLINE (). Size -
 : FONT_SIZE_SMALL (),
FONT_SIZE_MEDIUM (), FONT_SIZE_LARGE
(). 


     
 . 
  -  plot(x,y) ,
     x  y.
DrawLine(x1, y1, x2, y2) -  
     x1, y1
  x2, y2.  DrawEllipse(x, y,
width, height)  FillEllipse(x, y, width, height)   (   ,  
 -  ) 
   x  y, 
   - width, height. 
 DrawRect  FillRect  
  
, , 
   ,   
 - width, height. 
   
   
   
     -
SetColor(red, green, blue).  
 ,   
    
.  red, green  blue
    0  255.
,    SetColor(0, 0,
0),   - SetColor(255, 255, 255). 