강좌 / 팁

소프트웨어 레인미터로 아이콘배경색 모양 변경하기

2019.07.23 22:29

갑파니 조회:1595 추천:5

레인미터로 아이콘배경색이나 모양을 쉽게 만들 수 있습니다.

 

ba.jpg

 

예제로 첨부한 스킨은 위와 같습니다. 모양은 원 육각형등 다양하게 변경할 수 있습니다.

 

아래는 스킨의 내용입니다.


[FrostedGlass]
Measure=Plugin
Plugin=FrostedGlass
Type=none
Border=All
;Type Blur, Acrylic, and None
;Valid values are All, None, Left, Right, Top and Bottom.
;In order to mix and match the borders can you select a few of the sides by piping them together. e.g Border=Left | Right will create a border on only the left and right side of the skin and not on the top and bottom.

 

위에 부분은 도형의 채우기색을 투명값을 주었을때 흐림효과를 주는것입니다.

Type=none값만 보시면 됩니다.

Blur(조금 흐림), Acrylic(흐림), and None(흐림 효과 없음)

 

[MeterBg]
Meter=Shape
DynamicVariables=1
X=(14*#Scale#)
Y=(0*#Scale#)
Shape=Rectangle (3*#Scale#),(3*#Scale#),(50*#Scale#),(50*#Scale#), | Fill Color #color2# | StrokeWidth 0 | Stroke Color #color1# 

 

가장 위의 바탕스킨입니다.

Fill Color = 채우기색입니다.


[MeterBg2]
Meter=Shape
DynamicVariables=1
X=(0*#Scale#)r
Y=(70*#Scale#)r
Shape=Rectangle (3*#Scale#),(3*#Scale#),(50*#Scale#),(50*#Scale#),(4*#Scale#) | Fill Color #color2# | StrokeWidth 0 | Stroke Color #color1# 

 

2번째입니다.

X,Y 괄호뒤에r은 위에 바탕스킨에서 해당값만큼 이동하라는것입니다.

Shape=Rectangle (3*#Scale#),(3*#Scale#),(50*#Scale#),(50*#Scale#),(4*#Scale#)

에서 (4*#Scale#)은 사각형의 각진부분을 둥글게 해주는 값입니다. 값이 클수록 더 둥글어집니다.


[MeterBg3]
Meter=Shape
DynamicVariables=1
X=(0*#Scale#)r
Y=(70*#Scale#)r
Shape=Rectangle (3*#Scale#),(3*#Scale#),(50*#Scale#),(50*#Scale#),(4*#Scale#) | Fill Color #color2#,125 | StrokeWidth 1 | Stroke Color #color1#

 

3번째 스킨입니다.

StrokeWidth는 외곽선 두께입니다. 0이면 외곽선이 없는것입니다. 값이 클수록 두꺼워집니다.

Stroke Color는 외곽선 색입니다.

Fill Color #color2#,125에서 125는 투명도입니다. 1이면 완전투명입니다. 1~255사이에서 값을 주시면 됩니다.

 

[MeterBg4]
Meter=Shape
DynamicVariables=1
X=(0*#Scale#)r
Y=(70*#Scale#)r
Shape=Rectangle (3*#Scale#),(3*#Scale#),(50*#Scale#),(50*#Scale#),(4*#Scale#) | Fill Color #color2#,125 | StrokeWidth 3 | Stroke Color #color1# 

 

4번째 스킨입니다.

 

첨부된 스킨은 더블클릭하면 색을 조절할수 있는 세팅스킨도 포함시켜놓았습니다.

내용에서 보시면 아시겠지만 color1이 외곽선 색이고 color2가 채우기 색입니다.

예제 스킨은 첨부파일에 넣어두었습니다.

 

ExampleMeterShape.jpg

위에 내용에서 (14*#Scale#)이런식으로 한 이유는 마우스 휠로 편하게 크기를 조절하기위해 추가한 내용입니다.

아래에서 원하는 도형의 값을 확인 하실수 있습니다.

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

[MeterRectangle]
Meter=Shape
X=2
Y=2
Shape=Rectangle 0,0,100,100 | Extend MyModifiers1
MyModifiers1=Fill Color 191,237,239,255 | StrokeWidth 4 | Stroke Color 46,115,31,255

[MeterRotatedRectangle]
Meter=Shape
X=25R
Y=14r
Shape=Rectangle 0,0,70,70 | Extend MyModifiers1, MyModifiers2
MyModifiers1=Fill Color 191,237,239,255 | StrokeWidth 4 | Stroke Color 46,115,31,255
MyModifiers2=Rotate 45

[MeterRoundedRectangle]
Meter=Shape
X=10R
Y=2
Shape=Rectangle 0,0,100,100,20 | Extend MyModifiers1
MyModifiers1=Fill Color 191,237,239,255 | StrokeWidth 4 | Stroke Color 46,115,31,255

[MeterRoundedX]
Meter=Shape
X=10R
Y=2
Shape=Rectangle 0,0,100,100,40,20 | Extend MyModifiers1
MyModifiers1=Fill Color 191,237,239,255 | StrokeWidth 4 | Stroke Color 46,115,31,255

[MeterRoundedY]
Meter=Shape
X=10R
Y=2
Shape=Rectangle 0,0,100,100,20,40 | Extend MyModifiers1
MyModifiers1=Fill Color 191,237,239,255 | StrokeWidth 4 | Stroke Color 46,115,31,255

[MeterOvalWide]
Meter=Shape
X=10R
Y=15r
Shape=Rectangle 0,0,100,70,50 | Extend MyModifiers1
MyModifiers1=Fill Color 191,237,239,255 | StrokeWidth 4 | Stroke Color 46,115,31,255

[MeterOvalTall]
Meter=Shape
X=10R
Y=2
Shape=Rectangle 0,0,70,100,50 | Extend MyModifiers1
MyModifiers1=Fill Color 191,237,239,255 | StrokeWidth 4 | Stroke Color 46,115,31,255

[MeterEllipse]
Meter=Shape
X=10R
Y=2
Shape=Rectangle 0,0,100,100,50 | Extend MyModifiers1
MyModifiers1=Fill Color 191,237,239,255 | StrokeWidth 4 | Stroke Color 46,115,31,255

[MeterLine]
Meter=Shape
X=0
Y=20R
Shape=Rectangle 0,0,858,2, | Extend MyModifiers1
MyModifiers1=Fill Color 191,237,239,255 | StrokeWidth 0

 

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

에서 가져왔습니다.

번호 제목 글쓴이 조회 추천 등록일
[공지] 강좌 작성간 참고해주세요 gooddew - - -
4480 윈 도 우| Windows 업데이트를 사용하여 데이터를 잃지 않고 Windows ... [3] VᴇɴᴜꜱGɪ 869 5 04-23
4479 소프트웨어| pureBasic Glass 윈도우 및 버튼 021 [6] 입니다 930 14 04-20
4478 윈 도 우| WindowsXPE147-1빌더/나만의 PE를 만들자 시즌2 ?? 1탄 (... [55] update 지연서연아 1888 68 04-16
4477 서버 / IT| 하드 디스크 사용시간 초기화 하기 [6] gooddew 1773 9 04-15
4476 소프트웨어| 응답파일(unattend.xml) 교체 및 수정 - ChangeUnattend [14] update 무월 1178 39 04-13
4475 소프트웨어| AOMEI Backupper 백업실패 및 글씨 안보임 문제해결법 [5] 『ⓖⓤⓝ』 755 12 04-12
4474 윈 도 우| 윈도우 계정/자동로그인 버그 해결 방법 사가르마타 750 0 04-12
4473 윈 도 우| 원격 데스크톱..., 자격증명이 작동하지 않습니다... [1] 사가르마타 299 1 04-12
4472 윈 도 우| SSD 에서 파일 삭제를 주의해야 되는 이유 [3] gooddew 2204 12 04-10
4471 윈 도 우| 특정 폴더목록 자동열기 배치파일 [2] 메리아 689 13 04-09
4470 윈 도 우| 하드 디스크 아이콘 바꾸기 [11] 타천사둘리 1301 8 04-08
4469 소프트웨어| pureBasic 자동완성을 위한 프로젝트 만들기 [6] 입니다 1005 14 03-28
4468 윈 도 우| [uupdump] 윈도우 업데이트 및 드라이버(IRST&NVMe) 통... [17] 무월 2188 34 03-27
4467 소프트웨어| WimLib Api 백업.복원 미완성. 샘플 7가지. [10] 입니다 905 12 03-27
4466 소프트웨어| SDK(Software development kit) 에 대한 이해 [5] 입니다 587 7 03-27
4465 소프트웨어| pureBasic 구조체, Union 구조체 [4] 입니다 612 9 03-25
4464 소프트웨어| pureBasic 외부 함수 호출 [1] 입니다 355 9 03-25
4463 소프트웨어| pureBasic 포인트 기본 이해 [3] 입니다 360 10 03-25
4462 소프트웨어| purebasic Macro 기본 [3] 입니다 418 10 03-25
4461 소프트웨어| purebasic 함수 인수 기본 값 설정으로 생략하기 [2] 입니다 350 9 03-24
XE1.11.6 Layout1.4.8