강좌 / 팁

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

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 윈 도 우| 원격 데스크톱..., 자격증명이 작동하지 않습니다... [1] 사가르마타 295 1 04-12
4479 소프트웨어| purebasic 함수 인수 기본 값 설정으로 생략하기 [2] 입니다 349 9 03-24
4478 소프트웨어| pureBasic 외부 함수 호출 [1] 입니다 353 9 03-25
4477 소프트웨어| pureBasic 포인트 기본 이해 [3] 입니다 359 10 03-25
4476 모 바 일| #Kinemaster강좌, Clip&Audio 자르기 이동 늘리기, Un... 무림거사 399 1 08-02
4475 소프트웨어| purebasic Macro 기본 [3] 입니다 413 10 03-25
4474 모 바 일| Kinemaster 강좌 -Clip을 "즐겨찾기"에 등록 &am... 무림거사 420 1 08-11
4473 윈 도 우| [실사] 윈도우8.1 프로 VHD 설치 방법 [5] 무월 423 6 05-08
4472 소프트웨어| purebasic 기본적인 변수, 함수 선언 [5] 입니다 451 11 03-24
4471 소프트웨어| Bcd부팅항목 메뉴 숨기기 [3] 카멜 455 9 03-04
4470 모 바 일| Kinemaster강좌 #글자 입력방법, #링 속도 줄이는 방법 무림거사 461 1 08-03
4469 모 바 일| Kinemaster 화살표 Arrow 표시하는 2가지 방법 무림거사 471 1 08-08
4468 모 바 일| #Kinemaster 강좌, 기기성능 에 따른 출력해상도, 출력화질... [1] 무림거사 488 1 08-13
4467 모 바 일| Mobile PowerDirector강좌 #크로마키 무대 제작방법 특강 [1] 무림거사 524 2 06-24
4466 소프트웨어| dup2patcher.dll 디컴파일링-2 [3] sunshine 541 5 07-21
4465 윈 도 우| vbs_Merge Lines(Drag-n-drop) [12] 레마클로 545 4 03-03
4464 소프트웨어| 부팅항목숨기기,보이기-VHDman Lite0.0.8 [3] 카멜 556 10 03-06
4463 기 타| 커스텀 드라이브 아이콘 적용해 볼까? [3] 내꼬 559 5 03-09
4462 소프트웨어| winpe 시스템 계정에서 Edge 상위버전 적용 [8] sunshine 566 15 07-24
4461 모 바 일| Mobile PowerDirector Chroma Key 적용하는 방법 상세 설명 무림거사 578 2 08-16
XE1.11.6 Layout1.4.8