KitchenDraw SDK 2
Show / Hide Table of Contents

Method IsPlacedHigherThan

IsPlacedHigherThan(Object, bool)

Checks whether the object is placed higher than the other object.

Declaration
public bool IsPlacedHigherThan(Scene.Object otherObject, bool compareBottoms = false)
Parameters
Type Name Description
Scene.Object otherObject

Object the check against.

bool compareBottoms

Specifies whether the tops or the bottoms of the objects should be compared. If true than the bottoms are compared, which means that object is placed higher if its bounding box bottom is higher that the bottom of the bounding box of other object. If false (which is default) then the tops are compared.

Returns
Type Description
bool

true if the object is placed higher than the other object, false otherwise.

In this article
Back to top Generated by DocFX