Create a garcon to aniamte images on the waiter.
use_garcon()
new()Garcon$new( image, bg_color = "#FFFFFF", opacity = 0.5, direction = c("bt", "tb", "lr", "rl"), filter = NULL )
imageThe CSS id of the image tag.
bg_colorBackground overlay color in hexadecimal or RGB.
opacityOverlay transparency.
directionAnimation direction. Possible values: lr (left to right),
rl (right to left), bt (bottom to top), tb (top to bottom).
filterFilter to apply, options are blur, grayscale, sepia,
hue-rotate, invert, opacity.
Initialise the garçon.
\dontrun{Garcon$new("img")$set(30)}
set()Garcon$set(value)
valuePercentage to set to.
Value to set the garçon to.
\dontrun{Garcon$new("img")$set(30)}
inc()Garcon$inc(value)
valuePercentage to increase to.
Value to increase the garçon to.
\dontrun{Garcon$new("img")$inc(30)}
reset()Garcon$reset(value)
valuePercentage to set to.
Reset the garçon to.
\dontrun{Garcon$new("img")$set(30)$reset()}
destroy()Garcon$destroy()
Kill the garçon to.
\dontrun{Garcon$new("img")$set(30)$destroy()}
print()Garcon$print()
print the garcon
stop()Garcon$stop()
Stop the garçon.
\dontrun{Garcon$new("img")$set(30)$stop()}
close()Garcon$close()
Close the garçon.
\dontrun{Garcon$new("img")$set(30)$close()}
clone()The objects of this class are cloneable with this method.
Garcon$clone(deep = FALSE)
deepWhether to make a deep clone.
## ------------------------------------------------ ## Method `Garcon$new` ## ------------------------------------------------ if (FALSE) Garcon$new("img")$set(30) ## ------------------------------------------------ ## Method `Garcon$set` ## ------------------------------------------------ if (FALSE) Garcon$new("img")$set(30) ## ------------------------------------------------ ## Method `Garcon$inc` ## ------------------------------------------------ if (FALSE) Garcon$new("img")$inc(30) ## ------------------------------------------------ ## Method `Garcon$reset` ## ------------------------------------------------ if (FALSE) Garcon$new("img")$set(30)$reset() ## ------------------------------------------------ ## Method `Garcon$destroy` ## ------------------------------------------------ if (FALSE) Garcon$new("img")$set(30)$destroy() ## ------------------------------------------------ ## Method `Garcon$stop` ## ------------------------------------------------ if (FALSE) Garcon$new("img")$set(30)$stop() ## ------------------------------------------------ ## Method `Garcon$close` ## ------------------------------------------------ if (FALSE) Garcon$new("img")$set(30)$close()