Skip to content

search27/RxLongShadow2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

RxLongShadow2D

RxLongShadow2D

Support By [ Cloud Rx (https://rxapis.com) ].

  • Testing is available until the end of the year.

Table of Contents

Rx Long Shadow 2D

  • Create Long Shadow into 2d Canvas

CreateCanvas

  • Create Canvas
  • func CreateCanvas : (target, canvasCount, resize) return (Array) canvas
const target = document.getElementById('testDom');
const canvas = RxLongShadow2D.CreateCanvas(target, 2, true);

POINT3D

  • constructor
const point3d = new RxDriveLongShadow2D.POINT3D(x, y, z);

Quadrangle

  • constructor
  • new RxLongShadow2D.Quadrangle( parent, x, y, width, height, color )
  • func draw : (ctx)
  • func update : ()
  • func GetVertexes : () return Array
const poly = new RxLongShadow2D.Quadrangle(undefined, x, y, size, size, color);

Shadow

  • constructor
  • new RxLongShadow2D.Shadow()
  • func draw : (ctx)
  • func update : ()
  • func SetLight : ({x, y})
  • func SetColor : (String)
  • func SetParentVertexes : (Array)
const shadow = new RxLongShadow2D.Shadow();
스크린샷 2024-09-10 오후 2 50 33

About

RxLongShadow2D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages