Introducing ProtoPie
Auto Layout
Triggers & Responses
Interaction Libraries
ProtoPie Player
Connecting Devices
Voice Prototyping
ProtoPie Enterprise
메뉴
Introducing ProtoPie
Auto Layout
Triggers & Responses
Interaction Libraries
ProtoPie Player
Connecting Devices
Voice Prototyping
ProtoPie Enterprise
레이어 속성
수식을 작업할 때 위치, 높이, 너비, 불투명도 등을 포함되나 이에 국한되지 않는 다양한 레이어 속성을 활용할 수 있는 옵션이 있습니다.
레이어 속성 사용하기
레이어를 참조하려면 레이어 이름 주위에 백틱(`)을 사용합니다.
레이어 속성을 참조하려면 두 번째 백틱 뒤에 마침표(.)를 추가하고 그 뒤에 속성을 입력합니다.
`layerName`
.x
x-coordinate of a layer.
`layerName`
.width
Width of a layer.
`layerName`
.height
Height of a layer.
`layerName`
.scaleX
Scale factor X of a layer.
`layerName`
.scaleY
Scale factor Y of a layer.
`layerName`
.rotation
Rotation of a layer.
`layerName`
.rotation3d
3D rotation of a layer.
`layerName`
.opacity
Opacity of a layer.
`layerName`
.radius
Radius of a layer.
`containerName`
.scrollOffset
Current scroll value of a scroll or paging container.
`layerName`
.fillColor
Color (hex) of a layer.
`layerName`
.fillOpacity
Color fill of a layer.
`layerName`
.borderWidth
Border width of a layer.
`layerName`
.borderColor
Border color (hex) of a layer.
`layerName`
.borderOpacity
Border opacity of a layer.
`layerName`
.shadowOffsetX
x-coordinate of the shadow of a layer.
`layerName`
.shadowOffsetY
y-coordinate of the shadow of a layer.
`layerName`
.shadowBlur
Shadow blur of a layer.
`layerName`
.shadowColor
Shadow color (hex) of a layer.
`layerName`
.shadowOpacity
Shadow opacity of a layer.
`layerName`
.text
Text in a text or input layer.
`layerName`
.textColor
Color of a text or input layer.
`layerName`
.textOpacity
Opacity of a text or input layer.
`layerName`
.currentTime
The current playtime of a video, audio, or Lottie layer.
`layerName`
.totalTime
The total playtime of a video, audio, or Lottie layer.
`layerName`
.x
x-coordinate of a layer.
`layerName`
.width
Width of a layer.
`layerName`
.height
Height of a layer.
`layerName`
.scaleX
Scale factor X of a layer.
`layerName`
.scaleY
Scale factor Y of a layer.
`layerName`
.rotation
Rotation of a layer.
`layerName`
.rotation3d
3D rotation of a layer.
`layerName`
.opacity
Opacity of a layer.
`layerName`
.radius
Radius of a layer.
`containerName`
.scrollOffset
Current scroll value of a scroll or paging container.
`layerName`
.fillColor
Color (hex) of a layer.
`layerName`
.fillOpacity
Color fill of a layer.
`layerName`
.borderWidth
Border width of a layer.
`layerName`
.borderColor
Border color (hex) of a layer.
`layerName`
.borderOpacity
Border opacity of a layer.
`layerName`
.shadowOffsetX
x-coordinate of the shadow of a layer.
`layerName`
.shadowOffsetY
y-coordinate of the shadow of a layer.
`layerName`
.shadowBlur
Shadow blur of a layer.
`layerName`
.shadowColor
Shadow color (hex) of a layer.
`layerName`
.shadowOpacity
Shadow opacity of a layer.
`layerName`
.text
Text in a text or input layer.
`layerName`
.textColor
Color of a text or input layer.
`layerName`
.textOpacity
Opacity of a text or input layer.
`layerName`
.currentTime
The current playtime of a video, audio, or Lottie layer.
`layerName`
.totalTime
The total playtime of a video, audio, or Lottie layer.