/// <summary> /// Initializes a new instance of the <see cref="RenderElement"/> struct. /// </summary> /// <param name="x">The horizontal start position of the elemnt's bounding box.</param> /// <param name="y">The vertical start position of the elemnt's bounding box.</param> /// <param name="width">The width of the elemnt's bounding box.</param> /// <param name="height">The height of the elemnt's bounding box.</param> /// <param name="value">The value of the object.</param> /// <param name="parent">The parent of this element.</param> public RenderElement(int x, int y, int width, int height, Object value, RenderElement parent) : this(x, y, width, height, value, null, parent as Object) { }
/// <summary> /// Initializes a new instance of the <see cref="RenderElement"/> struct. /// </summary> /// <param name="x">The horizontal start position of the elemnt's bounding box.</param> /// <param name="y">The vertical start position of the elemnt's bounding box.</param> /// <param name="width">The width of the elemnt's bounding box.</param> /// <param name="height">The height of the elemnt's bounding box.</param> /// <param name="value">The value of the object.</param> /// <param name="subparts">Subparts if available (if elemt is splitted into several parts).</param> /// <param name="parent">The parent of this element.</param> public RenderElement(int x, int y, int width, int height, Object value, IList <RenderElement> subparts, RenderElement parent) : this(x, y, width, height, value, subparts, parent as Object) { }