thatsIch/sublime-rainmeter

View on GitHub
completion/meter/shape.yaml

Summary

Maintainability
Test Coverage
%YAML 1.2
---
shape_types:
  - [Rectangle, "X,Y,W,H,(RX),(RY)", "Rectangle ${1:X},${2:Y},${3:Width},${4:Height}${5:,(${6:RadiusX})}${7:,(${8:RadiusY})}"]
  - [Ellipse, "CX,CY,RX,(RY)", "Ellipse ${1:CenterX},${2:CenterY},${3:RadiusX}${4:,(${5:RadiusY})}"]
  - [Line, "SX,SY,EX,EY", "Line ${1:StartX},${2:StartY},${3:EndX},${4:EndY}"]
  - [Arc, "SX,SY,EX,EY,RX,RY,RA,SD,AS,SE", "${1:StartX},${2:StartY},${3:EndX},${4:EndY}${5:,(${6:RadiusX})}${7:,(${8:RadiusY})}${9:,(${10:RotationAngle})}${11:,(${12:SweepDirection})}${13:,(${14:ArcSize})}${15:,(${16:ShapeEnding})}"]
  - [Curve, "SX,SY,EX,EY,CX1,CY1,CX2,CY2", "${1:StartX},${2:StartY},${3:EndX},${4:EndY}${5:,(${6:ControlX1})}${7:,(${8:ControlY1})}${9:,(${10:ControlX2})}${11:,(${12:ControlY2})}${13:,(${14:ShapeEnding})}"]
  - [Combine, "Combines multiple shapes"]

combine_types:
  - [Union]
  - [Intersect]
  - [XOR]
  - [Exclude]

# TODO much more to do? or just too much
# https://docs.rainmeter.net/manual-beta/meters/shape/

# import general meter options
options:
  - 
    title: Shape
    hint: Type, attributes and transformations
    # import shape_types
  - 
    title: Shape2
    hint: Type, attributes and transformations
    # import shape_types
  - 
    title: ShapeN
    hint: Type, attributes and transformations
    # import shape_types