SwfDotNet.IO.Tags.Types.MorphLineStyle.GetSizeOf C# (CSharp) Méthode

GetSizeOf() public static méthode

Gets the size of.
public static GetSizeOf ( ) : int
Résultat int
        public static int GetSizeOf()
        {
            return (2 * 2) + (2 * 4);
        }

Usage Example

Exemple #1
0
        /// <summary>
        /// Gets the size of.
        /// </summary>
        /// <returns>Size of this object</returns>
        public int GetSizeOf()
        {
            int res   = 1;
            int count = this.Count;

            if (count >= 0xFF)
            {
                res += 2;
            }
            res += this.Count * MorphLineStyle.GetSizeOf();
            return(res);
        }