Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
06284c09
Commit
06284c09
authored
Sep 23, 2007
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Argument to set_alpha is 'input', not 'image'
parent
b7d1361b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
doc/function/set_alpha.txt
doc/function/set_alpha.txt
+4
-4
No files found.
doc/function/set_alpha.txt
View file @
06284c09
Function: set_alpha
--Usage--
> set_alpha(i
mage
: image, alpha: transparency value)
> set_alpha(i
nput
: image, alpha: transparency value)
Make an image more transparent.
...
...
@@ -10,12 +10,12 @@ If @alpha@ is 1 the image stays the same, if @alpha@ is 0 the image becomes comp
--Parameters--
! Parameter Type Description
| @i
mage
@ [[type:image]] Image to make transparent.
| @i
nput
@ [[type:image]] Image to make transparent.
| @alpha@ [[type:double]] Transparency factor.
--Examples--
> set_alpha(
image:
"image1.png", alpha: 0.5) == [[Image]]
>>> set_mask(
image:
<img src="image1.png" alt='"image1.png"' style="border:1px solid black;vertical-align:middle;margin:1px;" />, alpha: 0.5) == <img src="image_set_alpha.png" alt='"image_set_alpha.png"' style="border:1px solid black;vertical-align:middle;margin:1px;" />
> set_alpha("image1.png", alpha: 0.5) == [[Image]]
>>> set_mask(<img src="image1.png" alt='"image1.png"' style="border:1px solid black;vertical-align:middle;margin:1px;" />, alpha: 0.5) == <img src="image_set_alpha.png" alt='"image_set_alpha.png"' style="border:1px solid black;vertical-align:middle;margin:1px;" />
--See also--
| [[fun:set_mask]] Set the transparancy mask of an image.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment