Difference between revisions of "Media.new"

From GiderosMobile
m
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
'''Available since:''' Gideros 2016.1<br/>
 +
'''Class:''' [[Media]]<br/>
  
'''<translate>Available since</translate>:''' Gideros 2016.1<br/>
+
=== Description ===
'''<translate>Class</translate>:''' [[Special:MyLanguage/Media|Media]]<br/>
 
 
 
=== <translate>Description</translate> ===
 
 
Creates a new Media object with provided image.
 
Creates a new Media object with provided image.
 
<source lang="lua">
 
<source lang="lua">
Line 10: Line 9:
 
</source>
 
</source>
  
=== <translate>Parameters</translate> ===
+
=== Parameters ===
'''path''': (string) <translate>the path of the file to create</translate>
+
'''path''': (string) the path of the file to create<br/>
 +
 
 +
 
 +
----
  
=== <translate>Description</translate> ===
+
=== Description ===
 
Creates a blank Media object with provided dimensions.
 
Creates a blank Media object with provided dimensions.
 
<source lang="lua">
 
<source lang="lua">
Line 19: Line 21:
 
</source>
 
</source>
  
=== <translate>Parameters</translate> ===
+
=== Parameters ===
 
'''width''': (number) the width of the image to create<br/>
 
'''width''': (number) the width of the image to create<br/>
 
'''height''': (number) the height of the image to create<br/>
 
'''height''': (number) the height of the image to create<br/>
  
 
{{Media}}
 
{{Media}}

Revision as of 22:45, 24 October 2022