public void SetOffset(IRmlElement element, Vector2 offset, bool isFixed = false) { unsafe { CheckIfEntityExists(); Core.Library.Client.RmlElement_SetOffset(RmlElementNativePointer, element.RmlElementNativePointer, offset, (byte)(isFixed ? 1 : 0)); } }
public void ReplaceChild(IRmlElement newChild, IRmlElement oldChild) { unsafe { CheckIfEntityExists(); Core.Library.Client.RmlElement_ReplaceChild(RmlElementNativePointer, newChild.RmlElementNativePointer, oldChild.RmlElementNativePointer); } }
public void InsertBefore(IRmlElement child, IRmlElement adjacent) { unsafe { CheckIfEntityExists(); Core.Library.Client.RmlElement_InsertBefore(RmlElementNativePointer, child.RmlElementNativePointer, adjacent.RmlElementNativePointer); } }
public void RemoveChild(IRmlElement child) { unsafe { CheckIfEntityExists(); Core.Library.Client.RmlElement_RemoveChild(RmlElementNativePointer, child.RmlElementNativePointer); } }
public void AppendChild(IRmlElement element) { unsafe { CheckIfEntityExists(); Core.Library.Client.RmlElement_AppendChild(RmlElementNativePointer, element.RmlElementNativePointer); } }