Class FontProvider
java.lang.Object
com.nomagic.magicdraw.uml.symbols.FontProvider
Provides the custom font that is used to draw the presentation element text.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFont
(PresentationElement presentationElement) Font used to draw given presentation element text.isUnderline
(PresentationElement presentationElement) Checks if use underline when drawing given presentation element text.
-
Constructor Details
-
FontProvider
public FontProvider()
-
-
Method Details
-
getFont
Font used to draw given presentation element text.- Parameters:
presentationElement
-- Returns:
- font, or null to use predefined font.
-
isUnderline
Checks if use underline when drawing given presentation element text.- Parameters:
presentationElement
-- Returns:
Boolean.TRUE
if use underline,Boolean.FALSE
- do not use underline, or null to use predefined underline value.
-