다음을 통해 공유


XClosedCaptionProperties

선택 자막 속성을 설명합니다.

구문

typedef struct XClosedCaptionProperties {  
    XColor BackgroundColor;  
    XColor FontColor;  
    XColor WindowColor;  
    XClosedCaptionFontEdgeAttribute FontEdgeAttribute;  
    XClosedCaptionFontStyle FontStyle;  
    float FontScale;  
    bool Enabled;  
} XClosedCaptionProperties  

멤버

BackgroundColor
형식: XColor

선택 자막 배경의 색입니다.

FontColor
형식: XColor

선택 자막 텍스트 글꼴의 색입니다.

WindowColor
형식: XColor

선택 자막 창의 색입니다.

FontEdgeAttribute
형식: XClosedCaptionFontEdgeAttribute

선택 자막 텍스트의 글꼴 가장자리 속성입니다.

FontStyle
형식: XClosedCaptionFontStyle

선택 자막 텍스트의 글꼴 스타일입니다.

FontScale
형식: float

선택 자막 텍스트의 글꼴 크기입니다.

활성화
형식: bool

자막이 활성화된 경우에는 true이고, 그렇지 않으면 false입니다.

비고

현재 선택 자막 속성을 검색하려면 XClosedCaptionGetProperties 함수를 호출하세요. XClosedCaptionGetProperties 함수는 XClosedCaptionProperties 구조체에 대한 포인터를 인수로 사용합니다.

다음 예에서는 선택 자막 속성을 검색하는 방법을 보여줍니다.

XClosedCaptionProperties ccProperties;
if (SUCCEEDED(XClosedCaptionGetProperties(&ccProperties))
{
    // The game title can now access color and font settings in the ccProperties structure.
}

요구 사항

헤더: XAccessibility.h

지원되는 플랫폼: Windows, Xbox One 패밀리 콘솔 및 Xbox Series 콘솔

참고 항목

XAccessibility

XClosedCaptionFontEdgeAttribute

XClosedCaptionFontStyle

XClosedCaptionGetProperties