You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// These must be at the very top of the file. Do not edit.
// icon-color: light-brown; icon-glyph: magic;
let line = lineSep(false,10) //first argument is vertical boolean, second argument is number if dashes
QuickLook.present(line, true)
function lineSep(vertical,numDashes){
const context =new DrawContext()
var width,h,dashLength
if (!vertical)
{
width = 200
h=1
dashLength = width/numDashes
}else{
width = 1
h = 200
dashLength = h/numDashes
}
context.size=new Size(width, h)
context.opaque=false
context.respectScreenScale=true
let Colors = [Color.green(),Color.black(),Color.green(),Color.red(),Color.brown(),Color.cyan(),Color.magenta(),Color.purple(),Color.orange(),Color.yellow(),Color.white()]