Skip to main content
Glama

style_gradient

Define linear or radial gradients for SVG fill properties by specifying color stops, positions, and coordinates to create custom color transitions.

Instructions

그라디언트를 정의합니다. fill에 url(#id)로 사용합니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYes그라디언트 타입
stopsYes색상 정지점 배열
idNo그라디언트 ID
x1No시작 X (%) - linear only
y1No시작 Y (%) - linear only
x2No끝 X (%) - linear only
y2No끝 Y (%) - linear only
cxNo중심 X (%) - radial only
cyNo중심 Y (%) - radial only
rNo반지름 (%) - radial only
fxNo초점 X (%) - radial only
fyNo초점 Y (%) - radial only

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kim62210/svg-canvas-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server