Draw a straight line with two points according to a certain regular movement, thus drawing a magical visual effect. Developed by TechHamara using Fast.Telegram | GitHub
BuyMeaCoffee | YouTube
Find More Extension
Terms & Conditions
- **
📦 Package: io.th.magicline
đź’ľ Size: 11.83 KB
⚙️ Version: 1.0
📱 Minimum API Level: 7
đź“… Updated On: [date=2025-11-09 timezone="Asia/Calcutta"]
đź’» Built & documented using: FAST v2.8.4
🪧 Library used: thanks you zhangyuChen1991 for your MagicLine Library.
MagicLine has total 2 events.
Event raised when animation drawing starts
Event raised when animation drawing ends
MagicLine has total 6 methods.
Initialize inside an arrangement.
| Parameter | Type |
|---|---|
| arrangement | component |
Start drawing the magic line animation
Set custom parameters for the magic line animation
| Parameter | Type |
|---|---|
| p1XLength | number |
| p1YLength | number |
| p2XLength | number |
| p2YLength | number |
| speedP1 | number |
| speedP2 | number |
Set a preset flower pattern - Spiral Flower
Set a preset flower pattern - Star Flower
Set a preset flower pattern - Circular Flower
MagicLine has total 10 setter properties.
Set the background color of the magic line view
- Input type:
number
Set line color
- Input type:
number
Set line width
- Input type:
number
Set animation duration in milliseconds
- Input type:
number
Set the height of the magic line view
- Input type:
number
Set the width of the magic line view
- Input type:
number
Set text to display at top of the drawing
- Input type:
text
Set text to display at bottom of the drawing
- Input type:
text
Set the text color
- Input type:
number
Set the text size
- Input type:
number










