Media.new: Difference between revisions

From GiderosMobile
mNo edit summary
m Text replacement - "</source>" to "</syntaxhighlight>"
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
=== Description ===
=== Description ===
Creates a new Media object with provided image.
Creates a new Media object with provided image.
<source lang="lua">
<syntaxhighlight lang="lua">
Media.new(path)
Media.new(path)
</source>
</syntaxhighlight>


=== Parameters ===
=== Parameters ===
Line 17: Line 17:
=== Description ===
=== Description ===
Creates a blank Media object with provided dimensions.
Creates a blank Media object with provided dimensions.
<source lang="lua">
<syntaxhighlight lang="lua">
Media.new(width, height)
Media.new(width, height)
</source>
</syntaxhighlight>


=== Parameters ===
=== Parameters ===

Latest revision as of 13:31, 13 July 2023