====== DrawRectangle (code : hex 13) ====== |DrawRectangle x y width height [topLeftCornerRadius [topRightCornerRadius bottomLeftCornerRadius bottomRightCornerRadius]]| 사각형 또는 모서리가 둥근 사각형을 그립니다. ^Argument ^Type ^Description^ |x |Real Number |시작 X 좌표| |y |Real Number |시작 Y 좌표| |width |Real Number |폭| |height |Real Number |높이| |topLeftCornerRadius |Real Number |(Optional) 왼쪽위 모서리 반지름 , \\ 생략되면 뾰족한 모서리.아래 topRightCornerRadius , bottomLeftCornerRadius ,\\ bottomRightCornerRadius 이 모두 생략되면 이 값이 다른 코너에도 모두 적용됩니다.| |topRightCornerRadius |Real Number |(Optional) 오른쪽 위 모서리 반지름| |bottomLeftCornerRadius |Real Number |(Optional) 왼쪽 아래 모서리 반지름| |bottomRightCornerRadius |Real Number |(Optional) 오른쪽 아래 모서리 반지름| #Clear the current layer Clear # Draw a cyan rectangular perimeter Color 00FFFF DrawRectangle 50 100 150 200 {{ :mdisplay:drawrectangle_hex_13:rectangle.png?nolink |}} ---- #Clear the current layer Clear # Set Line Width LineWidth 1.0 # Draw a cyan rounded rectangular perimeter Color FFFF DrawRectangle 50 100 150 200 20 {{ :mdisplay:drawrectangle_hex_13:rectangle2.png?nolink |}} [[mdisplay:index#그래픽_코멘드|M Display 메인페이지로 가기]]