### Dropshadow Implementation Example Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Demonstrates creating a dropshadow and animating its offset. ```lua local EasyVisuals = require(path.to.EasyVisuals) -- Create a dropshadow local shadow = EasyVisuals.Dropshadow.new( textLabel, Color3.new(0, 0, 0), 0.5, Vector2.new(-3, 3) ) -- Animate shadow offset shadow:SetOffset(Vector2.new(-5, 5), 0.2) ``` -------------------------------- ### Gradient Implementation Example Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Demonstrates creating a rainbow gradient and animating its movement. ```lua local EasyVisuals = require(path.to.EasyVisuals) -- Create a rainbow gradient local rainbowGradient = EasyVisuals.Gradient.new( textLabel, EasyVisuals.Templates.Rainbow.Color, 0 -- No transparency ) -- Animate it moving left to right rainbowGradient:SetOffsetSpeed(0.5, 1) -- Speed of 0.5, instant acceleration ``` -------------------------------- ### Stroke Implementation Example Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Demonstrates creating a stroke and animating a pulse effect. ```lua local EasyVisuals = require(path.to.EasyVisuals) -- Create a stroke local stroke = EasyVisuals.Stroke.new(textLabel, 3, Color3.new(1, 0, 0)) -- Animate it pulsing stroke:SetSize(5, 0.1) -- Grow to size 5 slowly task.wait(1) stroke:SetSize(3, 0.1) -- Shrink back to size 3 ``` -------------------------------- ### Implement Preset with Custom Connections Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Demonstrates managing RunService connections within a preset, ensuring they are returned for cleanup. ```lua local RunService = game:GetService("RunService") local EasyVisuals = require(script.Parent.Parent) return function(uiInstance: GuiObject, speed: number, size: number) local stroke = EasyVisuals.Stroke.new(uiInstance, size) local gradient = EasyVisuals.Gradient.new( stroke.Instance, EasyVisuals.Templates.Rainbow.Color, 0 ) local rotation = 0 local connection = RunService.Heartbeat:Connect(function(dt) if not stroke.Instance or stroke.Instance.Parent == nil then connection:Disconnect() return end rotation = rotation + speed * dt gradient:SetRotation(rotation, 1) end) return { Effects = { gradient, stroke }, Connections = { connection } -- Important: return connections so they can be cleaned up } end ``` -------------------------------- ### Initialize Preset Testing Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Instantiate a test UI element and apply the EasyVisuals effect to verify preset behavior. ```lua local EasyVisuals = require(path.to.EasyVisuals) -- Test your preset local testLabel = Instance.new("TextLabel") testLabel.Text = "Test" testLabel.Size = UDim2.new(0, 200, 0, 50) testLabel.Parent = game.Players.LocalPlayer.PlayerGui local effect = EasyVisuals.new(testLabel, "YourPresetName", 0.5, 3) ``` -------------------------------- ### EasyVisuals.new Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Initializes a new visual effect on a specified GuiObject. ```APIDOC ## EasyVisuals.new ### Description Creates and applies a new visual effect to a target GuiObject. ### Parameters - **uiInstance** (GuiObject) - Required - The UI element to apply the effect to. - **effectType** (string) - Required - The preset name for the effect. - **speed** (number) - Optional - Animation speed. - **size** (number) - Optional - Effect size. - **saveInstanceObjects** (boolean) - Optional - Whether to save existing strokes/gradients. - **customColor** (ColorSequence | Color3) - Optional - Custom color override. - **customTransparency** (NumberSequence | number) - Optional - Custom transparency override. - **resumesOnVisible** (boolean) - Optional - Auto-resume when visible (default: true). ``` -------------------------------- ### EasyVisuals.new(uiInstance, effectType, speed, size, saveInstanceObjects, customColor, customTransparency, resumesOnVisible) Source: https://github.com/arxk/ezvisualz/blob/main/README.md Initializes a new visual effect on a specified UI object using a predefined preset. ```APIDOC ## EasyVisuals.new ### Description Creates and applies a visual effect to a GuiObject based on a preset. ### Parameters - **uiInstance** (GuiObject) - Required - The object to apply the effect to. - **effectType** (string) - Required - The preset name to apply. - **speed** (number) - Optional - The speed of the effect. - **size** (number) - Optional - The size of the effect. - **saveInstanceObjects** (boolean) - Optional - Whether to preserve existing strokes/gradients. - **customColor** (ColorSequence | Color3) - Optional - Custom color for the effect. - **customTransparency** (NumberSequence | number) - Optional - Custom transparency for the effect. - **resumesOnVisible** (boolean) - Optional - Whether to resume the effect when the object becomes visible. ``` -------------------------------- ### Implement Preset with Custom Parameters Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Allows overriding default template colors and transparency via preset parameters. ```lua local EasyVisuals = require(script.Parent.Parent) return function(uiInstance: GuiObject, speed: number, size: number, customColor, customTransparency) -- Use custom color if provided, otherwise use template local colorSequence = customColor or EasyVisuals.Templates.Rainbow.Color local transparency = customTransparency or 0 local gradient = EasyVisuals.Gradient.new(uiInstance, colorSequence, transparency) gradient:SetOffsetSpeed(speed, 1) return { Effects = { gradient } } end ``` -------------------------------- ### Create a simple gradient animation Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Initializes a new gradient on a UI instance and sets the offset speed. ```lua local gradient = EasyVisuals.Gradient.new(uiInstance, template.Color, 0) gradient:SetOffsetSpeed(speed, 1) ``` -------------------------------- ### EasyVisuals.Gradient.new(instance, color, transparency) Source: https://github.com/arxk/ezvisualz/blob/main/README.md Creates a new Gradient controller for an instance. ```APIDOC ## EasyVisuals.Gradient.new ### Description Initializes a new Gradient controller to manage visual properties of an instance. ### Parameters - **instance** (Instance) - Required - The object to apply the gradient to. - **color** (Color3) - Required - The color of the gradient. - **transparency** (number) - Required - The transparency of the gradient. ``` -------------------------------- ### Initialize and Control EasyVisuals Effects Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Use the constructor to apply an effect to a GuiObject and utilize the returned object to manage animation state. ```lua local EasyVisuals = require(path.to.EasyVisuals) -- Create an effect local effect = EasyVisuals.new( uiInstance, -- GuiObject to apply effect to effectType, -- Preset name (string) speed, -- Animation speed (number, optional) size, -- Effect size (number, optional) saveInstanceObjects, -- Save existing strokes/gradients (boolean, optional) customColor, -- Custom color override (ColorSequence | Color3, optional) customTransparency,-- Custom transparency override (NumberSequence | number, optional) resumesOnVisible -- Auto-resume when visible (boolean, optional, default: true) ) -- Control the effect effect:Pause() -- Pause the animation effect:Resume() -- Resume the animation effect:Destroy() -- Remove the effect and clean up ``` -------------------------------- ### Implement Simple Rainbow Preset Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md A basic implementation applying a rainbow gradient to a UI element. ```lua local EasyVisuals = require(script.Parent.Parent) return function(uiInstance: GuiObject, speed: number, size: number) -- Create a gradient using the Rainbow template local gradient = EasyVisuals.Gradient.new( uiInstance, EasyVisuals.Templates.Rainbow.Color, 0 -- No transparency ) -- Animate the gradient offset gradient:SetOffsetSpeed(speed, 1) -- Return the effects return { Effects = { gradient } } end ``` -------------------------------- ### Implement Basic Gradient Template Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md A standard template implementation returning a UIGradient with a defined ColorSequence. ```lua return function() local gradient = Instance.new("UIGradient") gradient.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.new(1, 0, 0)), -- Red at start ColorSequenceKeypoint.new(0.5, Color3.new(0, 1, 0)), -- Green at middle ColorSequenceKeypoint.new(1, Color3.new(0, 0, 1)), -- Blue at end }) return gradient end ``` -------------------------------- ### Create a Dropshadow Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Initialize a new Dropshadow effect on a GuiObject or UIStroke. ```lua local EasyVisuals = require(path.to.EasyVisuals) local dropshadow = EasyVisuals.Dropshadow.new( uiInstance, -- GuiObject or UIStroke color, -- Color3 (optional, default: black) transparency, -- number 0-1 (optional, default: 0) offset -- Vector2 (optional, default: Vector2.new(-4, 4)) ) ``` -------------------------------- ### Register Custom Presets and Templates Source: https://github.com/arxk/ezvisualz/blob/main/README.md Extend the module by registering custom folders for presets and gradient templates. ```lua local EasyVisuals = require(path.to.EasyVisuals) -- Hook up your custom folders (custom presets/templates override defaults with the same name) EasyVisuals.SetCustomFolders(YourPresetsFolder, YourGradientTemplatesFolder) -- Now use your custom presets just like built-in ones! local effect = EasyVisuals.new(textLabel, "YourCustomPreset", 0.5, 3) ``` -------------------------------- ### Create a Gradient Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Initialize a new Gradient effect on a GuiObject or UIStroke. ```lua local EasyVisuals = require(path.to.EasyVisuals) -- Create a gradient local gradient = EasyVisuals.Gradient.new( uiInstance, -- GuiObject or UIStroke colorSequence, -- ColorSequence transparencySequence -- NumberSequence or number (0-1) ) ``` -------------------------------- ### Use the Gradient Class Source: https://github.com/arxk/ezvisualz/blob/main/README.md Configure gradient properties such as offset speed, color, and rotation. ```lua local EasyVisuals = require(path.to.EasyVisuals) local Gradient = EasyVisuals.Gradient.new(instance, color, transparency); -- Then we can use the gradient to apply it to an object Gradient:SetOffsetSpeed(number) Gradient:SetTransparencyOffsetSpeed(number) Gradient:SetColor(color) Gradient:SetTransparencySequence(number or NumberSequence, acceleration) Gradient:SetRotation(number, acceleration) Gradient:SetRotationSpeed(number, acceleration) ``` -------------------------------- ### EasyVisuals.SetCustomFolders(PresetsFolder, GradientTemplatesFolder) Source: https://github.com/arxk/ezvisualz/blob/main/README.md Registers custom folders for presets and gradient templates to override or extend default functionality. ```APIDOC ## EasyVisuals.SetCustomFolders ### Description Allows users to define custom folders for Presets and GradientTemplates to extend the module without modification. ### Parameters - **PresetsFolder** (Instance) - Required - Folder containing custom preset ModuleScripts. - **GradientTemplatesFolder** (Instance) - Required - Folder containing custom gradient template ModuleScripts. ``` -------------------------------- ### Implement Gradient Template with Transparency Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md A template implementation that includes both ColorSequence and NumberSequence for transparency effects. ```lua return function() local gradient = Instance.new("UIGradient") gradient.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.new(1, 1, 1)), ColorSequenceKeypoint.new(1, Color3.new(1, 1, 1)), }) gradient.Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0), -- Opaque at start NumberSequenceKeypoint.new(0.5, 1), -- Transparent at middle NumberSequenceKeypoint.new(1, 0), -- Opaque at end }) return gradient end ``` -------------------------------- ### Return Connections for Cleanup Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Include custom RunService connections in the returned table to ensure they are automatically cleaned up by the library. ```lua return { Effects = { ... }, Connections = { connection1, connection2 } -- These will be cleaned up automatically } ``` -------------------------------- ### Integrate Templates into Presets Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Usage of EasyVisuals.Templates within a preset function to apply gradients to UI objects. ```lua local EasyVisuals = require(script.Parent.Parent) return function(uiInstance: GuiObject, speed: number, size: number) -- Access templates via EasyVisuals.Templates local gradient = EasyVisuals.Gradient.new( uiInstance, EasyVisuals.Templates.YourTemplateName.Color, -- Access the Color property 0 ) -- Templates can also have Transparency -- EasyVisuals.Templates.YourTemplateName.Transparency gradient:SetOffsetSpeed(speed, 1) return { Effects = { gradient } } end ``` -------------------------------- ### Gradient Transparency Control Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Manage the transparency sequence and its movement. ```lua -- Set transparency offset (moves transparency gradient) gradient:SetTransparencyOffset(offset, acceleration) -- Set transparency offset speed (continuous animation) gradient:SetTransparencyOffsetSpeed(speed, acceleration) -- Set transparency sequence gradient:SetTransparencySequence(transparency, acceleration) -- transparency: number (0-1) or NumberSequence ``` -------------------------------- ### Configure opposing gradient animations Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Sets different offset speeds for main and stroke gradients to create opposing movement effects. ```lua -- Main gradient moves one way mainGradient:SetOffsetSpeed(speed, 1) -- Stroke gradient moves opposite strokeGradient:SetOffsetSpeed(-speed, 1) ``` -------------------------------- ### Initialize and Destroy UI Effects Source: https://github.com/arxk/ezvisualz/blob/main/README.md Create a new visual effect on a UI object and clean it up using the Destroy method. ```lua local EasyVisuals = require(path.to.EasyVisuals) -- uiInstance: GuiObject, effectType: string, speed: number?, size: number?, saveInstanceObjects: boolean?, customColor: ColorSequence | Color3?, customTransparency: NumberSequence | number?, resumesOnVisible: boolean? -- uiInstance: the object to apply the effect to -- effectType: the preset to apply -- speed: the speed of the effect -- size: the size of the effect -- saveInstanceObjects: you can keep your own strokes and gradients in your instance by setting this to true, this module will delete them but it will save them and reapply them if :Destroy() is called, default is false -- customColor: the color of the effect (if needed) -- customTransparency: the transparency of the effect (if needed) -- resumesOnVisible: Because of obvious reasons, when an effect is not being shown, it is paused. This boolean decides whether to resume the effect when the uiInstance is shown (if not provided, it will resume on visible) -- Initializing an effect on an object local Label = workspace.Label local Effect = EasyVisuals.new(Label, "RainbowStroke", 0.3, 6) -- Destroying the Effect Effect:Destroy() ``` -------------------------------- ### Create a stroke with an animated gradient Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Applies a stroke to a UI instance and adds an animated gradient to that stroke. ```lua local stroke = EasyVisuals.Stroke.new(uiInstance, size) local strokeGradient = EasyVisuals.Gradient.new(stroke.Instance, template.Color, 0) strokeGradient:SetOffsetSpeed(speed, 1) ``` -------------------------------- ### Dropshadow Methods Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Methods to modify dropshadow offset, color, and transparency. ```lua -- Change shadow offset dropshadow:SetOffset(offset, acceleration) -- offset: Vector2 (X, Y pixel offset) -- acceleration: 0-1 -- Change shadow color dropshadow:SetColor(color, acceleration) -- Change shadow transparency dropshadow:SetTransparency(transparency, acceleration) ``` -------------------------------- ### Validate Instance Existence in Connections Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Verify that the target instance and its parent still exist within custom connections to prevent errors after destruction. ```lua RunService.Heartbeat:Connect(function(dt) if not stroke.Instance or stroke.Instance.Parent == nil then connection:Disconnect() return end -- Your code here end) ``` -------------------------------- ### Use the Stroke Class Source: https://github.com/arxk/ezvisualz/blob/main/README.md Apply stroke effects to UI instances and configure associated gradients. ```lua local EasyVisuals = require(path.to.EasyVisuals) local Stroke = EasyVisuals.Stroke.new(instance, size); -- Then we can use the stroke to apply it to an object local StrokeGradient = EasyVisuals.Gradient.new(Stroke.Instance, color, transparency); StrokeGradient:SetOffsetSpeed(number) StrokeGradient:SetTransparencyOffsetSpeed(number) StrokeGradient:SetTransparency(number, acceleration) StrokeGradient:SetSize(number, acceleration) StrokeGradient:SetColor(color, acceleration) ``` -------------------------------- ### Create a Stroke Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Initialize a new Stroke effect on a GuiObject or UIStroke. ```lua local EasyVisuals = require(path.to.EasyVisuals) local stroke = EasyVisuals.Stroke.new( uiInstance, -- GuiObject or UIStroke size, -- Thickness (number) color, -- Color3 (optional, default: white) transparency -- number 0-1 (optional, default: 0) ) ``` -------------------------------- ### Stroke Methods Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Methods to modify stroke size, color, and transparency. ```lua -- Change stroke size stroke:SetSize(size, acceleration) -- size: new thickness value -- acceleration: 0-1, how fast to reach target size -- Change stroke color stroke:SetColor(color, acceleration) -- color: Color3 -- acceleration: 0-1, how fast to blend to new color -- Change stroke transparency stroke:SetTransparency(transparency, acceleration) -- transparency: 0-1 -- acceleration: 0-1, how fast to reach target transparency ``` -------------------------------- ### Define Preset Function Signature Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md The required function signature for all custom presets, accepting UI instances and configuration parameters. ```lua return function( uiInstance: GuiObject, speed: number, size: number, customColor: ColorSequence | Color3?, customTransparency: NumberSequence | number? ): { Effects: { Effect }, Connections: { RBXScriptConnection }? -- Optional } ``` -------------------------------- ### Implement Pulsing Stroke Effect in Lua Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Creates a UI stroke that dynamically pulses in size and animates a gradient offset using RunService. Ensure the UI instance remains parented to avoid memory leaks from the heartbeat connection. ```lua local RunService = game:GetService("RunService") local EasyVisuals = require(script.Parent.Parent) return function(uiInstance: GuiObject, speed: number, size: number) local stroke = EasyVisuals.Stroke.new(uiInstance, size) local gradient = EasyVisuals.Gradient.new( stroke.Instance, EasyVisuals.Templates.Rainbow.Color, 0 ) local pulseDirection = 1 local currentSize = size local minSize = size * 0.5 local maxSize = size * 1.5 local connection = RunService.Heartbeat:Connect(function(dt) if not stroke.Instance or stroke.Instance.Parent == nil then connection:Disconnect() return end currentSize = currentSize + (speed * pulseDirection * dt) if currentSize >= maxSize then currentSize = maxSize pulseDirection = -1 elseif currentSize <= minSize then currentSize = minSize pulseDirection = 1 end stroke:SetSize(currentSize, 1) gradient:SetOffsetSpeed(speed, 1) end) return { Effects = { stroke, gradient }, Connections = { connection } } end ``` -------------------------------- ### Animate gradient transparency Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Applies a gradient with transparency and sets different speeds for the offset and transparency offset to create depth. ```lua local gradient = EasyVisuals.Gradient.new(uiInstance, template.Color, template.Transparency) gradient:SetOffsetSpeed(speed, 1) gradient:SetTransparencyOffsetSpeed(speed * 0.9, 1) -- Slightly different speed for depth ``` -------------------------------- ### Implement Complex Multi-Effect Preset Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Combines multiple effects like gradients and strokes on a single UI element. ```lua local EasyVisuals = require(script.Parent.Parent) return function(uiInstance: GuiObject, speed: number, size: number) -- Create gradient on the main UI element local mainGradient = EasyVisuals.Gradient.new( uiInstance, EasyVisuals.Templates.Rainbow.Color, 0 ) mainGradient:SetOffsetSpeed(speed, 1) -- Create a stroke local stroke = EasyVisuals.Stroke.new(uiInstance, size) -- Create gradient on the stroke (moving opposite direction) local strokeGradient = EasyVisuals.Gradient.new( stroke.Instance, EasyVisuals.Templates.Rainbow.Color, 0 ) strokeGradient:SetOffsetSpeed(-speed, 1) -- Negative speed = opposite direction return { Effects = { mainGradient, strokeGradient, stroke } } end ``` -------------------------------- ### Effect Control Methods Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Methods to control the playback and lifecycle of an initialized effect object. ```APIDOC ## effect:Pause() ### Description Pauses the current animation of the effect. ## effect:Resume() ### Description Resumes the animation of the effect. ## effect:Destroy() ### Description Removes the effect and cleans up associated instances. ``` -------------------------------- ### Create Multi-Layered UI Effect in Lua Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Configures multiple overlapping gradients and strokes on a single UI element with varying speeds. Useful for complex visual layering. ```lua local EasyVisuals = require(script.Parent.Parent) return function(uiInstance: GuiObject, speed: number, size: number) -- Main gradient local mainGradient = EasyVisuals.Gradient.new( uiInstance, EasyVisuals.Templates.Rainbow.Color, 0 ) mainGradient:SetOffsetSpeed(speed, 1) -- Outer stroke local outerStroke = EasyVisuals.Stroke.new(uiInstance, size) local outerGradient = EasyVisuals.Gradient.new( outerStroke.Instance, EasyVisuals.Templates.Rainbow.Color, 0 ) outerGradient:SetOffsetSpeed(-speed * 0.5, 1) -- Inner stroke (smaller) local innerStroke = EasyVisuals.Stroke.new(uiInstance, size * 0.5) local innerGradient = EasyVisuals.Gradient.new( innerStroke.Instance, EasyVisuals.Templates.Rainbow.Color, 0 ) innerGradient:SetOffsetSpeed(speed * 1.5, 1) return { Effects = { mainGradient, outerGradient, outerStroke, innerGradient, innerStroke } } end ``` -------------------------------- ### Gradient Color Control Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Update the color sequence with a specified blend rate. ```lua -- Change the color sequence gradient:SetColorSequence(colorSequence, blendRate) -- blendRate: 0-1, how fast to blend to new colors (1 = instant) ``` -------------------------------- ### Gradient Offset Control Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Adjust the movement of the gradient along the UI element. ```lua -- Set a specific offset value (0-1) gradient:SetOffset(0.5, acceleration) -- acceleration: 0-1, how fast to reach the target (1 = instant) -- Set offset speed (continuous animation) gradient:SetOffsetSpeed(speed, acceleration) -- speed: how fast the offset changes per second -- acceleration: 0-1, how fast to reach target speed ``` -------------------------------- ### Define Template Function Signature Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md The required function signature for all gradient template ModuleScripts. ```lua return function(): UIGradient ``` -------------------------------- ### EasyVisuals.Dropshadow Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md The Dropshadow class creates a shadow effect by cloning the UI element and positioning it behind. ```APIDOC ## EasyVisuals.Dropshadow.new ### Description Creates a new Dropshadow effect instance. ### Parameters - **uiInstance** (GuiObject or UIStroke) - Required - The UI element to apply the shadow to. - **color** (Color3) - Optional - The shadow color (default: black). - **transparency** (number) - Optional - The shadow transparency (0-1) (default: 0). - **offset** (Vector2) - Optional - The shadow offset (default: Vector2.new(-4, 4)). ## Dropshadow Methods - **SetOffset(offset, acceleration)**: Changes the shadow offset. - **SetColor(color, acceleration)**: Changes the shadow color. - **SetTransparency(transparency, acceleration)**: Changes the shadow transparency. ``` -------------------------------- ### EasyVisuals.Gradient Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md The Gradient class creates animated UIGradient effects with customizable colors, transparency, offset, and rotation. ```APIDOC ## EasyVisuals.Gradient.new ### Description Creates a new Gradient effect instance. ### Parameters - **uiInstance** (GuiObject or UIStroke) - Required - The UI element to apply the gradient to. - **colorSequence** (ColorSequence) - Required - The color sequence for the gradient. - **transparencySequence** (NumberSequence or number) - Required - The transparency sequence or value (0-1). ## Gradient Methods - **SetOffset(offset, acceleration)**: Sets the gradient offset (0-1). - **SetOffsetSpeed(speed, acceleration)**: Sets continuous offset animation speed. - **SetTransparencyOffset(offset, acceleration)**: Sets the transparency gradient offset. - **SetTransparencyOffsetSpeed(speed, acceleration)**: Sets continuous transparency offset speed. - **SetTransparencySequence(transparency, acceleration)**: Sets the transparency sequence. - **SetRotation(rotation, acceleration)**: Sets the rotation angle in degrees. - **SetRotationSpeed(speed, acceleration)**: Sets continuous rotation speed. - **SetColorSequence(colorSequence, blendRate)**: Changes the color sequence with a blend rate (0-1). ``` -------------------------------- ### EasyVisuals.Stroke Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md The Stroke class creates animated UIStroke effects with customizable color, transparency, and thickness. ```APIDOC ## EasyVisuals.Stroke.new ### Description Creates a new Stroke effect instance. ### Parameters - **uiInstance** (GuiObject or UIStroke) - Required - The UI element to apply the stroke to. - **size** (number) - Required - The thickness of the stroke. - **color** (Color3) - Optional - The color of the stroke (default: white). - **transparency** (number) - Optional - The transparency (0-1) (default: 0). ## Stroke Methods - **SetSize(size, acceleration)**: Changes the stroke thickness. - **SetColor(color, acceleration)**: Changes the stroke color. - **SetTransparency(transparency, acceleration)**: Changes the stroke transparency. ``` -------------------------------- ### Gradient Rotation Control Source: https://github.com/arxk/ezvisualz/blob/main/DEVELOPER_GUIDE.md Adjust the rotation angle or continuous rotation speed of the gradient. ```lua -- Set rotation angle (degrees) gradient:SetRotation(rotation, acceleration) -- Set rotation speed (continuous rotation) gradient:SetRotationSpeed(speed, acceleration) -- speed: degrees per second ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.