Sha256: bfde0375f4ac67a56bb657276c0601662012c086081cfc9cc51b32b1e9089083
Contents?: true
Size: 700 Bytes
Versions: 7
Compression:
Stored size: 700 Bytes
Contents
/* --- script: Radius.js description: Rounds shapes corners license: Public domain (http://unlicense.org). authors: Yaroslaff Fedin requires: - LSD.Layer provides: - LSD.Layer.Radius ... */ LSD.Layer.Radius = { properties: { radius: [['topLeft', 'bottomLeft', 'topRight', 'bottomRight'], 'collection'], topLeft: ['percentage', 'length'], bottomLeft: ['percentage', 'length'], topRight: ['percentage', 'length'], bottomRight: ['percentage', 'length'], }, paint: function() { return { radius: Array.prototype.splice.call(arguments, 0).map(function(r) { return r || 0}) } } } LSD.Layer.prepare('corner', ['radius'], false);
Version data entries
7 entries across 7 versions & 1 rubygems