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

@seregpie/three.text-texture

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@seregpie/three.text-texture - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

30

index.d.ts

@@ -8,16 +8,16 @@ import {

export default class extends Texture {
export default class TextTexture extends Texture {
constructor(options?: {
alignment?: string = 'center';
color?: string = '#fff';
fontFamily?: string = 'sans-serif';
fontSize?: number = 16;
fontStyle?: string = 'normal';
fontVariant?: string = 'normal';
fontWeight?: string = 'normal';
lineGap?: number = 1/4;
padding?: number = 1/2;
strokeColor?: string = '#fff';
strokeWidth?: number = 0;
text?: string = '';
alignment?: string;
color?: string;
fontFamily?: string;
fontSize?: number;
fontStyle?: string;
fontVariant?: string;
fontWeight?: string;
lineGap?: number;
padding?: number;
strokeColor?: string;
strokeWidth?: number;
text?: string;
});

@@ -59,3 +59,3 @@

pixelRatio: number = 1;
pixelRatio: number;

@@ -73,2 +73,2 @@ redraw(): void;

loadFontFace(): Promise<void>;
};
}
{
"name": "@seregpie/three.text-texture",
"version": "3.1.0",
"version": "3.1.1",
"description": "A texture with the drawn text.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -79,3 +79,3 @@ # THREE.TextTexture

fontFamily: 'sans-serif',
fontSize: 1,
fontSize: 16,
fontStyle: 'normal',

@@ -82,0 +82,0 @@ fontVariant: 'normal',

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