KO
|
EN
gitlite — search
Search
#typescript
#ai-agents
#ai
#dsh-plugin
#deepseek-harness
#open-source
#claude-code
#codex
#cli
#developer-tools
#react
#windows
ShinsOverlayClass
★ 78
Open GitHub ↗
A direct2d overlay for AutoHotkey
Download README (.md)
Explore Similar Repositories
goji
:
Commitizen-like Emoji Commit Tool written in Go and AI commit message generator (think cz-emoji and other commitizen adapters but in go) 🚀
react-canvas-editor
:
React version of canvas editor
YyFlight.ToDoList
:
✍【.NET8 MongoDB 待办清单系统】.NET8 MongoDB从入门到实战基础教程,该项目后端使用的是.NET8、前端页面使用Blazor、使用MongoDB存储数据,更多相关内容大家可以看目录中的MongoDB从入门到实战的相关教程。该系列教程可作为.NET Core入门项目进行学习,感兴趣的小伙伴可以关注博主和我一起学习共同进步。
langchainjs-quickstart-demo
:
Build a generative AI application using LangChain.js, from local to Azure
resilience4j-spring-boot3-demo
:
A Spring Boot 3 demo which shows how to use the Resilience4j Spring Boot 3 Starter
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
ShinsOverlayClass
?
Download (.md)
# ShinsOverlayClass A direct2d overlay for <ins>AutoHotkey **V1.1+ and V2+**</ins>, made to be user friendly and fast. Supports 32bit and 64bit for systems running windows 7+ including the newest windows 11. # YouTube simple overview and examples [](https://www.youtube.com/watch?v=L2Cb1UCJDEg) ## Functions ```ruby #AttachToWindow...........Attach the overlay to a window AttachToWindow(title,AttachToClientArea:=0,foreground:=1) #BeginDraw................Begins the drawing process, MUST ALWAYS start with BeginDraw(), if attached to window returns 1 if window is available, 0 otherwise BeginDraw() #EndDraw..................End the drawing process, MUST ALWAYS end with EndDraw() EndDraw() #DrawImage................Draw an image DrawImage(image,dstX,dstY,dstW:=0,dstH:=0,srcX:=0,srcY:=0,srcW:=0,srcH:=0,alpha:=1,drawCentered:=0,rotation:=0,rotOffX:=0,rotOffY:=0) #DrawText.................Draws text, supports a dropshadow if a valid color is supplied DrawText(text,x,y,size:=18,color:=0xFF000000,fontName:="Arial",extraOptions:="") #see the comments above the function in the class file for more info #GetTextMetrics..........Get the dimensions of text GetTextMetrics(text, size, fontName, maxWidth:=5000, maxHeight:=5000) #SetTextRenderParams.....Set additional parameters for text SetTextRenderParams(gamma:=1, contrast:=0, cleartype:=1, pixelGeom:=0, renderMode:=0) #DrawEllipse..............Draws an ellipse DrawEllipse(x, y, w, h, color, thickness:=1) #FillEllipse..............Fills an ellipse FillEllipse(x, y, w, h, color) #DrawCircle...............Draw a circle DrawCircle(x, y, radius, color, thickness:=1) #FillCircle...............Fill a circle FillCircle(x, y, radius, color) #DrawRectangle............Draws a rectangle DrawRectangle(x, y, w, h, color, thickness:=1) #FillRectangle............Fills a rectangle FillRectangle(x, y, w, h, color) #DrawRoundedRectangle.....Draw a rectangle with rounded corners DrawRoundedRectangle(x, y, w, h, radiusX, radiusY, color, thickness:=1) #FillRoundedRectangle.....Fill a rectangle with rounded corners FillRoundedRectangle(x, y, w, h, radiusX, radiusY, color) #DrawLine.................Draws a line from 2 positions DrawLine(x1,y1,x2,y2,color,thickness:=1,rounded:=0) #DrawLines................Draws an array of lines, points must be in an array [[x,y],[x,y]] etc. DrawLines(points,color,connect:=0,thickness:=1,rounded:=0) #DrawPolygon..............Draws a polygon outline, points must be in an array [[x,y],[x,y]] etc. DrawPolygon(points,color,thickness:=1,rounded:=0,xOffset:=0,yOffset:=0) #FillPolygon..............Fill a polygon, points must be in an array [[x,y],[x,y]] etc. FillPolygon(points,color,xoffset:=0,yoffset:=0) #SetPosition..............Sets the overlay position, only when not attached SetPosition(x,y,w:=0,h:=0) #GetImageDimensions.......Gets the width and height of a cached image GetImageDimensions(image,byref w, byref h) #GetMousePosition.........Gets the mouse position relative to the overlay, additionally returns true if the mouse is inside the overlay, 0 otherwise GetMousePos(byref x, byref y, realRegionOnly:=0) #Clear...................Clears the canvas Clear() #RegCallback............Register a function to call when an event happens RegCallback(func, callback) ;Size, Position, Active #ClearCallback.........Clear a callback ClearCallback(callback) ``` ## Notes * **V2 now supported.** * * I've only tested on my end and can confirm it works for me using 32/64 bit AHK_L (AHK V1.1) and AHK V2 on Windows 10. * If it doesn't work for you let me know, I may be able to help, or maybe not, just depends. ### Donations Thanks for stopping by! If you really enjoy my code and want to make a <ins>small</ins> donation, then here's a link! https://www.buymeacoffee.com/Spawnova **I will continue to provide code, and support released classes regardless of any monetary support**, and I'd rather none is given if you are not comfortably in a position to do so!