Unit 'libSkiaControls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#pl_skia]

TSkFontComponent

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: libskiacontrols.pas line 754

type TSkFontComponent = class(TSkPersistent)

public

type

  TSkFontSlant = (

  

  Regular,

  

  Italic,

  

  Oblique

  

);

  TSkFontStretch = (

  

  UltraCondensed,

  

  ExtraCondensed,

  

  Condensed,

  

  SemiCondensed,

  

  Regular,

  

  SemiExpanded,

  

  Expanded,

  

  ExtraExpanded,

  

  UltraExpanded

  

);

  TSkFontWeight = (

  

  Thin,

  

  UltraLight,

  

  Light,

  

  SemiLight,

  

  Regular,

  

  Medium,

  

  Semibold,

  

  Bold,

  

  UltraBold,

  

  Black,

  

  UltraBlack

  

);

protected

const

  DefaultFamilies = ''

  

  DefaultSize = 14

  

  DefaultSlant = TSkFontSlant.Regular

  

  DefaultStretch = TSkFontStretch.Regular

  

  DefaultWeight = TSkFontWeight.Regular

  

protected

  procedure AssignTo(); override;

  

  procedure DoAssign(); override;

  

  function IsFamiliesStored; virtual;

  

  function IsSizeStored; virtual;

  

public

  constructor Create;

  

  function Equals(); override;

  

published

  property Families: string; [rws]

  

  property Size: Single; [rws]

  

  property Slant: TSkFontSlant; [rw]

  

  property Stretch: TSkFontStretch; [rw]

  

  property Weight: TSkFontWeight; [rw]

  

end;

Inheritance

TSkFontComponent

  

|

TSkPersistent

  

|

TObject



CT Web help

CodeTyphon Studio