// This code implementation is the intellectual property of // the GEANT4 collaboration. // // By copying, distributing or modifying the Program (or any work // based on the Program) you indicate your acceptance of this statement, // and all its terms. // // $Id: G4Text.icc,v 1.2 1999/12/15 14:50:34 gunter Exp $ // GEANT4 tag $Name: geant4-03-00 $ // // // John Allison 17/11/96. inline G4String G4Text::GetText () const { return fText; } inline G4Text::Layout G4Text::GetLayout () const { return fLayout; } inline void G4Text::SetText (const G4String& text) { fText = text; } inline void G4Text::SetLayout (G4Text::Layout layout) { fLayout = layout; } inline G4double G4Text::GetXOffset () const { return fXOffset ; } inline G4double G4Text::GetYOffset () const { return fYOffset ; } inline void G4Text::SetOffset ( double x_offset, double y_offset ) { fXOffset = x_offset ; fYOffset = y_offset ; }