Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@3dnest/wall-material-ajk

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@3dnest/wall-material-ajk - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

package.json
{
"name": "@3dnest/wall-material-ajk",
"version": "0.0.2",
"version": "0.0.3",
"description": "> TODO: description",

@@ -30,3 +30,3 @@ "author": "zhangsen <zhangsen@3dnest.cn>",

},
"gitHead": "568a90d5ae974e412f2055bf0d61bc786f76af38"
"gitHead": "589795fbe8d32f42f5efee000292537e0b447e53"
}

@@ -0,6 +1,8 @@

import { LINE_WIDTH } from '../constant.js';
import { getColors } from '../utils.js';
export const Bealock = (graphics, context) => {
const { width, height} = context;
const { width, height, scale } = context;
const color = getColors(context);
const lineWidth = LINE_WIDTH / scale;

@@ -10,3 +12,8 @@ graphics

.drawRect(0, 0, width, height)
.endFill();
.endFill()
.lineStyle(lineWidth, color.arcLine)
.moveTo(0, 0)
.lineTo(0, height)
.moveTo(width, 0)
.lineTo(width, height);

@@ -13,0 +20,0 @@ graphics.pivot.x = width / 2;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc