Loading navigation

Atlas

Your web-based eye in the sky

Road maps, satellite views, directions, GPS tracking, and more! Atlas is the easiest way to find what you're looking for.

Open

Ready to get started?

Open Atlas now.
Details

Want more information?

Read more about Atlas.

Bugs

Bug tracking made stupid easy

More advanced than Post-it notes, less complicated than Team System. We've stripped the bloat from traditional bug tracking systems and dramatically simplified the whole mess.

Open

Ready to get started?

Open Bugs now.
Details

Want more information?

Read more about Bugs?

Folders

Your files, on the internets

Store your digital photos, music, movies and documents online. Work with files in your web browser like you would on your desktop.

Open

Ready to get started?

Open Folders now.
Details

Want more information?

Read more about Folders.

Gadgets

Mini-applications for Windows Live

Gadgets customize your Windows Live homepage, putting you in charge of what information you'd like to interact with.

Open

Ready to get started?

Add all of our gadgets to your Live.com page.
Details

Want more information?

Read more about the gadgets we've created for Live.com.

Scripts

JavaScript Framework designed for .NET gurus

Built for software developers, Scripts is an object oriented JavaScript framework with a programming model similar to the Microsoft .NET Framework.

Open

Ready to get started?

Open the examples and browse through the documentation.
Details

Want more information?

Read more about Scripts.

FreshLogicStudios.Scripts.Drawing.Size

Summary


Stores an ordered pair of integers, typically the width and height of a rectangle.
Defined in Size.js

Constructors

FreshLogicStudios.Scripts.Drawing.Size(<Int> width, <Int> height)
Initializes a new instance of the Size class from the specified dimensions.

Parameters

  • width - The width component of the new Size.
  • height - The height component of the new Size.

Properties

  • Int Height
    Gets or sets the vertical component of this Size.
  • Int Width
    Gets or sets the horizontal component of this Size.
  • static final Size Empty
    Represents a Size that has width and height values set to zero.

Methods

  • Object Clone()
    Creates a new instance of a Size with the same values as this Size.
  • Boolean Equals(<Object> obj)
    Tests to see whether the specified object is a Size with the same dimensions as this Size.

    Parameters

    • obj - The Object to test.

    Return Values

    True if obj is a Size and has the same width and height as this Size; otherwise, false.
  • Boolean IsEmpty()
    Tests whether this Size has width and height of 0.

    Return Values

    True when this Size has both a width and height of 0; otherwise, false.
  • String ToString()
    Creates a human-readable string that represents this Size.

    Return Values

    A human-readable string that represents this Size.
  • static Size Add(<Size> sz1, <Size> sz2)
    Adds the width and height of one Size to the width and height of another Size. The Add adds the Width and Height of the specified Size to the X and Y values of the specified point.

    Parameters

    • sz1 - The first Size to add.
    • sz2 - The second Size to add.

    Return Values

    A Size that is the result of the addition operation.
  • static Size Subtract(<Size> sz1, <Size> sz2)
    Subtracts the width and height of one Size structure from the width and height of another Size structure.

    Parameters

    • sz1 - The Size on the right side of the subtraction operator.
    • sz2 - The Size on the left side of the subtraction operator.

    Return Values

    The Size that is a result of the subtraction operation.