MCPcopy Create free account
hub / github.com/christophhart/HISE / getPosition

Method getPosition

hi_scripting/scripting/api/ScriptingApiContent.cpp:929–937  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

927}
928
929Rectangle<int> ScriptingApi::Content::ScriptComponent::getPosition() const
930{
931 const int x = getScriptObjectProperty(Properties::x);
932 const int y = getScriptObjectProperty(Properties::y);
933 const int w = getScriptObjectProperty(Properties::width);
934 const int h = getScriptObjectProperty(Properties::height);
935
936 return Rectangle<int>(x, y, w, h);
937}
938
939void ScriptingApi::Content::ScriptComponent::set(String propertyName, var newValue)
940{

Callers 15

mouseWheelMoveMethod · 0.45
mouseMoveMethod · 0.45
handleBreakpointClickMethod · 0.45
mouseDragMethod · 0.45
mouseMoveMethod · 0.45
mouseEnterMethod · 0.45
mouseMoveMethod · 0.45
resizedMethod · 0.45
setNewValueMethod · 0.45
mouseMoveMethod · 0.45
mouseDownMethod · 0.45
mouseDoubleClickMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected