It is currently March 29th, 2024, 5:50 am

how can i make a hole in a square so it can show other stuff through it

Get help with creating, editing & fixing problems with skins
Rafamear
Posts: 114
Joined: November 15th, 2021, 1:47 am
Location: Brazil

how can i make a hole in a square so it can show other stuff through it

Post by Rafamear »

I'm trying to do this just to leave an adapted circular image, since I haven't seen any other way to do it, If you have any more specific questions I will try to answer as soon as possible.
Last edited by Rafamear on May 8th, 2022, 1:29 am, edited 1 time in total.
;===========================================Rafamear=================================================
;========================= :welcome: ========== My DeviantArt ========== :Whistle ==============================
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: how can i make a hole in a square so it can show other stuff through it

Post by jsmorley »

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1

[Variables]

[MeterSquare]
Meter=Shape
Shape=Rectangle 1,1,100,100
Shape2=Rectangle 25,25,50,50
Shape3=Combine Shape | XOR Shape2

https://docs.rainmeter.net/manual/meters/shape/#Rectangle
https://docs.rainmeter.net/manual/meters/shape/#Combine


1.png

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1

[Variables]

[MeterSquare]
Meter=Shape
Shape=Rectangle 1,1,100,100
Shape2=Ellipse 50,50,30,30
Shape3=Combine Shape | XOR Shape2


https://docs.rainmeter.net/manual/meters/shape/#Ellipse


2.png
You do not have the required permissions to view the files attached to this post.
Rafamear
Posts: 114
Joined: November 15th, 2021, 1:47 am
Location: Brazil

Re: how can i make a hole in a square so it can show other stuff through it

Post by Rafamear »

jsmorley wrote: May 8th, 2022, 1:03 am

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1

[Variables]

[MeterSquare]
Meter=Shape
Shape=Rectangle 1,1,100,100
Shape2=Rectangle 25,25,50,50
Shape3=Combine Shape | XOR Shape2

https://docs.rainmeter.net/manual/meters/shape/#Rectangle
https://docs.rainmeter.net/manual/meters/shape/#Combine



1.png

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1

[Variables]

[MeterSquare]
Meter=Shape
Shape=Rectangle 1,1,100,100
Shape2=Ellipse 50,50,30,30
Shape3=Combine Shape | XOR Shape2


https://docs.rainmeter.net/manual/meters/shape/#Ellipse



2.png
works perfectly, I was trying to use Combine but I didn't understand how it worked :thumbup: :thumbup:
;===========================================Rafamear=================================================
;========================= :welcome: ========== My DeviantArt ========== :Whistle ==============================