Shape.Fill 속성

정의

셰이프의 Brush 내부 영역을 그리는 값을 가져오거나 설정합니다.

UWP에 해당하는 WinUI 2 API: Microsoft.UI.Xaml.Shapes.Shape.Fill(Windows 앱 SDK WinUI의 경우 Windows 앱 SDK 네임스페이스 참조).

public:
 property Brush ^ Fill { Brush ^ get(); void set(Brush ^ value); };
Brush Fill();

void Fill(Brush value);
public Brush Fill { get; set; }
var brush = shape.fill;
shape.fill = brush;
Public Property Fill As Brush
<shape Fill="{StaticResource resourceName}"/>
- or -
<shape Fill="colorString"/>
- or -
<shape>
  <shape.Fill>singleBrush</shape.Fill>
</shape>

속성 값

Brush

도형 내부를 그리거나 채우는 A Brush 입니다. 기본값은 렌더링에 대해 Transparent 평가되는 null(null 브러시)입니다.

적용 대상

추가 정보