Education/Projects/ProcessingForTheWeb/cursor: Difference between revisions

Jump to navigation Jump to search
Line 16: Line 16:
</span>
</span>


cursor(''src'',''width'',''height'') - this function sets the cursor to an image .  It is recommended to make the size of the image is 16x16 or 32x32 pixels.  The values for parameters ''width'' and ''height'' must be less than the dimensions of the image. otherwise, it will not load.
cursor(''src'',''width'',''height'') - this function sets the cursor to an image .  It is recommended to make the size of the image 16x16 or 32x32 pixels.  The values for parameters ''width'' and ''height'' must be less than the dimensions of the image. otherwise, it will not load.
<span>
<span>
<ul>
<ul>
Line 26: Line 26:


=== Bugs ===
=== Bugs ===
 
{| class="wikitable" border="1" caption="Bugs"
|-
!Function
!Bug Description
!Fixed?(Date)
|-
|cursor(''src'',''width'',''height'')
|'''src''' - should be a PImage: any variable of type PImage, not image path
|No
|}


=== Tests ===
=== Tests ===

Navigation menu