Nevron .NET Vision
Nevron.Diagram Namespace / NLayoutData Class / Mass Property


In This Topic
    Mass Property
    In This Topic
    Gets/sets the mass of a shape, which is threated as a physical body with a certain mass (weight). Used by force directed layouts with a baricenter force. Applicable for 2D shapes only.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Shape 2D Layout")>
    <System.ComponentModel.DescriptionAttribute("Gets/sets the mass of a shape, which is threated as a physical body with a certain mass (weight). Used by force directed layouts with a baricenter force. Applicable for 2D shapes only.")>
    <System.Xml.Serialization.XmlAttributeAttribute()>
    Public Property Mass As System.Single
    'Usage
     
    
    Dim instance As NLayoutData
    Dim value As System.Single
     
    instance.Mass = value
     
    value = instance.Mass
    [System.ComponentModel.Category("Shape 2D Layout")]
    [System.ComponentModel.Description("Gets/sets the mass of a shape, which is threated as a physical body with a certain mass (weight). Used by force directed layouts with a baricenter force. Applicable for 2D shapes only.")]
    [System.Xml.Serialization.XmlAttribute()]
    public System.float Mass {get; set;}
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also