First commit.

Signed-off-by: Chen Xiao <abigwc@gmail.com>
This commit is contained in:
Chen Xiao
2026-05-08 14:43:16 +08:00
commit 0b64e2de94
10989 changed files with 2253791 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
function DimensionD(width, height) {
this.width = 0;
this.height = 0;
if (width !== null && height !== null) {
this.height = height;
this.width = width;
}
}
DimensionD.prototype.getWidth = function ()
{
return this.width;
};
DimensionD.prototype.setWidth = function (width)
{
this.width = width;
};
DimensionD.prototype.getHeight = function ()
{
return this.height;
};
DimensionD.prototype.setHeight = function (height)
{
this.height = height;
};
module.exports = DimensionD;